move submenus left or right

Home Forums WordPress Themes – Premium Celestial (Celestial Reloaded) move submenus left or right

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15394
    stefano
    Member

    hello again.
    I am trying to get all the submenus to align the left side of the dropdown list with the first letter of the main menu item. See the attachments for more clarity.
    I changed the right value of .main-navigation li ul from -20px to -120px and that works fine for the submenus of the What we do main menu item.
    Not so for the submenu of About us which does not align like the others. if i increase the right value to -160px to align the About us submenu i get a misalignment like in the attachmnet menu3

    Any suggestion on how to achieve the same result?
    Thanks in advance
    menu1.jpg
    menu2.jpg
    menu3.jpg

    Attachments:
    You must be logged in to view attached files.
    #15395
    Sushil Adhikari
    Moderator

    Little tricky but basically do this to align the submenu items to the left:

    .sub-menu li {
       text-align: left;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.