Site logo

Archived topic

sections as menus

5 replies · Started by Janani on May 4, 2020

Viewing posts 1–6 of 6

Hi,

I am trying to create menus from sections in the page 'The Mindful Young'.

I know that I need to give a custom ID for each section, but when I do that, the background colour of that section disappears. Why does this strange thing happen?

After I give custom ID, what is the URL I need to give in custom links, in order to create a menu to that section?

Warm regards
Janani

Hi there,

adding a valid ID to your Section should not break the styling unless it is an ID that is already being used. Can you add an ID to one of the sections so i can see whats up?

For a navigation menu link you would create a custom link, with a url like so:

https://www.yoursite.com/the-page-link-is-on/#sectionID

sectionID should be the same as the ID label you gave the section.

E.g I give one of my sections an ID of challenge my URL looks like:

https://www.yoursite.com/the-page-link-is-on/#challenge

Hi David,

I just created the custom ID 'A world of chaos' and you can see that the background colour of that section is gone.

Can you please check what the issue is?

Warm regards
Janani

ID's cannot include spaces. So instead of: A world of chaos try:

a-world-of-chaos

And your menu link to that would be:

#a-world-of-chaos

Thank you, this is done.

Warm regards
Janani

You're welcome

This archived topic is closed to new replies.