How I can create a component which is visible on the same location throughout the whole site | Community
Skip to main content
Feb 13, 2019 7:31 AM UTC
Solved

How I can create a component which is visible on the same location throughout the whole site

I want to create one component. It is like Link button but it should be visible throughout the whole site on the same place.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
edubey
edubeyAccepted solution
Level 10
Feb 14, 2019 11:18 AM UTC

1. Create the the HTML with <a> and <img> tag for your button

2. Create component using that HTML

3. Use the component in base template.

Above is just  one of the approach, there can be many more.

4 replies

Feb 19, 2019 7:08 AM UTC

Thanks!!! Maybe it will work

Translate
edubey
edubeyAccepted solution
Level 10
Feb 14, 2019 11:18 AM UTC

1. Create the the HTML with <a> and <img> tag for your button

2. Create component using that HTML

3. Use the component in base template.

Above is just  one of the approach, there can be many more.

Translate
Feb 14, 2019 4:28 AM UTC

Actually, I want to create a link button with image content.

Translate
edubey
Level 10
Feb 13, 2019 8:55 AM UTC

Can also make that component part of base template, which will be automatically inherited.

Translate