Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

4 Replies

Avatar

Level 10

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

Avatar

Correct answer by
Level 10

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.