Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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

Level 2

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

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.