WordPress.org

Support

Support » Themes and Templates » Ridizain » [Resolved] Flexible Primary Menu

[Resolved] Flexible Primary Menu

  • 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author Brian Harris

    @zgani

    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

    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.

    Theme Author Brian Harris

    @zgani

    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

    Theme Author Brian Harris

    @zgani

    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

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

    Regards

    Anna.

    Theme Author Brian Harris

    @zgani

    You are most welcome Anna 🙂

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

    Regards,
    Zulf

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