How create a second line in menu item

Community Forums Forums Design Tips and Tricks How create a second line in menu item

This topic is: resolved

This topic contains 8 replies, has 2 voices, and was last updated by  monicasalazar 1 year, 2 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #36817

    monicasalazar
    Participant
    Post count: 27

    Hi! I’m working with magazine theme and I want to know if is it possible to create a second line in each item menu, like in this example:

    http://www.sebascelis.com/

    Thank you.

    #36820

    braddalton
    Participant
    Post count: 8797

    I wrote a tutorial about this a while ago. Here’s the code i used and tested.

    I do know that the Back Country theme includes menu item descriptions by default.

    Credit to Travis Smith and Bill Erickson as this code is modified from their snippets.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #36884

    monicasalazar
    Participant
    Post count: 27

    Thank you so much Brad, just a little question:

    Where should I put this code, in which part of the css?

    #36886

    braddalton
    Participant
    Post count: 8797

    At the end of your child themes style.css file.

    Copy the View raw code


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #37362

    monicasalazar
    Participant
    Post count: 27

    Hi Brad!

    I pasted the code but how can I add/edit the second line menu? where is it the option?

    Thank you

    #37522

    braddalton
    Participant
    Post count: 8797

    Did you read the tutorial? In the menu description. Go to screen option to show it first.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #37998

    monicasalazar
    Participant
    Post count: 27

    Yes, but it isn’t work =(

    #38002

    braddalton
    Participant
    Post count: 8797

    Sorry. My mistake. At the end of your child themes functions.php file.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #38962

    monicasalazar
    Participant
    Post count: 27

    Dont’ worry, finally I used “Backcountry Theme”, but I will try your instructions in “Magazine Theme” later.

    Thank you so much for your help ;)

    See you.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.