WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Menu description theming

[Resolved] Menu description theming

  • 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="http://localhost/excelPrint/">Home</a>
    	</li>
    	....
    </ul>
Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    To style the link you’d use CSS like:

    #menu-topmenu a { color: red; }

    Is that what you mean?

    Hehehe,

    No, I want to style the menu description:
    <strong><a href="http://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?

    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

    [ CLOSED ]

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