WordPress.org

Forums

Ridizain
[resolved] Flexible Primary Menu (7 posts)

  1. AnnaAsumi
    Member
    Posted 1 year ago #

    Hello Zulifkar Nore.
    Is there a way to change the sub menu from drop down block to become horizontal across the page? I've tried CSS from display:inline; and float:left; but this doesn't seem to work. Do you have an answer to how I could make the sub menu appear horizontal please.

  2. Zulfikar Nore
    Member
    Theme Author

    Posted 1 year ago #

    Hello AnnaAsumi,

    I'm not sure I follow - could you point to an example of what you are trying to achieve? Also which menu location are we talking about as the theme has 2?

    Regards,
    Zulf

  3. AnnaAsumi
    Member
    Posted 1 year ago #

    Hi thanks for your quick reply..
    The top menu on the header,
    I'm trying to make the drop down sub menu UL class sub menu CSS horizontal. Menu 1 top menu on header.
    Horizontal UL horizontal UL CSS drop down is in block need to make it inline, some how. Does that make sense.
    The top menu has a drop down function which is vertical I'd like to make it horizontal.

    Thank you

    Anna.

  4. Zulfikar Nore
    Member
    Theme Author

    Posted 1 year ago #

    No problem at all Anna.

    Let me fiddle with the CSS and see what can be done - may take a little while but I'll get back to you as soon as I can.

    Regards,
    Zulf

  5. Zulfikar Nore
    Member
    Theme Author

    Posted 1 year ago #

    OK, I believe this is what you are looking for - let me know how it goes.

    .primary-navigation li {
         position: static;
    }
    .primary-navigation .sub-menu {
         width: 100%;
    }
    .primary-navigation .sub-menu li {
         display: inline-block;
    }

    Depending on depth levels you may need to do some further adjustments as I've only tested to 1 level down.

    Regards,
    Zulf

  6. AnnaAsumi
    Member
    Posted 1 year ago #

    Hi Zulf,
    Yes that seems to work just fine.
    Thank You for your assistance.
    I love your themes.

    Regards

    Anna.

  7. Zulfikar Nore
    Member
    Theme Author

    Posted 1 year ago #

    You are most welcome Anna :)

    Marking thread as resolved but feel free to raise another one if you ever need further assistance.

    Regards,
    Zulf

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic