• Resolved Archie Makuwa

    (@archie22is)


    Hey guys,

    How would I style the following menu description? It’s a custom theme that takes advantage of WordPress’s description:

    <ul id="menu-topmenu" class="menu">
    	<li id="menu-item-18" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-18">
    		<a data-description="Starting Point" href="https://localhost/excelPrint/">Home</a>
    	</li>
    	....
    </ul>
Viewing 5 replies - 1 through 5 (of 5 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    To style the link you’d use CSS like:

    #menu-topmenu a { color: red; }

    Is that what you mean?

    Thread Starter Archie Makuwa

    (@archie22is)

    Hehehe,

    No, I want to style the menu description:
    <strong><a href="https://localhost/excelPrint/">Home</a></strong>

    The Menu Display:
    Home
    – Starting point (this text appears right below the menu) and it is what I want to style.

    what theme is that?
    what code is the theme using to add the data-description?
    is javascript involved?

    Thread Starter Archie Makuwa

    (@archie22is)

    Thank you for the reply gentlemen, I am currently waiting for support from the theme author. I urgently had to work on a site making use of the theme and I couldn’t figure out how the menu description has been styled.

    It’s Friday – Good weekend gentlemen and hopefully I will have an answer on Monday

    Thread Starter Archie Makuwa

    (@archie22is)

    [ CLOSED ]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Menu description theming’ is closed to new replies.