Shop Categories

X

Submenu

Home Forums Agama Pro Submenu

Topic Resolution: Resolved
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #5728
    omanifr
    Participant

    Hi,

    What if I want to have a size of the submenu smaller than the menu itself ?
    http://hpics.li/66ffda8

    Best,

    Thomas

    #5736
    omanifr
    Participant

    Any idea someone ?

    #5751
    omanifr
    Participant

    I guess its only a matter of changing something in the CSS, someone has got an idea to make the police of the submenu smaller ?

    #5753
    Zex
    Moderator

    Hello Thomas!

    Sorry for the delay.

    I have added CSS code in to :

    Customize->General->Additional CSS

    code:

    #menu-top-2 .sub-menu-item a{
    	font-size:12px;
    }

    http://prntscr.com/fzl8tz
    And changed the submenu font size to 12px.

    Best Regards

    #5754
    omanifr
    Participant

    Best, thank you !

    #5862
    omanifr
    Participant

    Hi !

    What if I dont want to make the submenu police too small but I prefer to enlarge the width of the menu ? Could you share the css code ? Best to you 🙂

    Thomas

    #5863
    Zex
    Moderator

    Hello Thomas!

    No need a custom CSS for that.

    Just go to: Customizing ▸ Navigations ▸ Navigation Primary

    and change the font size.

    http://prntscr.com/g4mg3v

    Best Regards

    #5865
    omanifr
    Participant

    Hi Zex,

    I am not talking about the font size but the width of the submenu ? And we need I think a css modification ?

    If we get a bigger police, its going to wrap the text on the next line.

    Best and thank you,

    Thomas

    #5866
    omanifr
    Participant

    Lets have a look at what I am talking about :

    http://hpics.li/8e0bc00

    #5867
    Zex
    Moderator

    Hello , Thomas!
    I see the problem now…

    If you want to change the width of the sub menu,
    add this CSS code in to:

    Customize->General->Additional CSS

    Code:

    #menu-main-menu .sub-menu{
    
    width:300px;
    }

    Change the width value per you wish.

    Regards

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.