[Resolved] Want some stylish elements like 3rd navigation only for mobile and a featured

Home Forums Support [Resolved] Want some stylish elements like 3rd navigation only for mobile and a featured

Home Forums Support Want some stylish elements like 3rd navigation only for mobile and a featured

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1303310
    Rohan Verma

    Hello I Want some stylish elements like 3rd navigation only for mobile and a featured. Have shared two websites with the example.

    #1303432
    David
    Staff
    Customer Support

    Hi there,

    the Get Droid tips site you could use the Secondary Navigation for, then follow this guide to keep the desktop horizontal view on mobile:

    https://docs.generatepress.com/article/disable-secondary-navigation-mobile-menu/

    Once thats in place let me know and i can help with some CSS to make it scrollable.

    #1303755
    Rohan Verma

    Hello David I have added the php code with nav bar 2 under header. Everything is working. Now please help me to do the slide thing.

    I have updated our link so that you can check our site.

    Thanks and Regards

    #1304334
    Rohan Verma

    Any update David?

    #1304556
    David
    Staff
    Customer Support

    Change the CSS in that document to this:

    .secondary-navigation .menu-toggle {
        display: none;
    }
    
    @media(max-width: 768px) {
      .secondary-navigation {
          text-align: center !important;
      }
      .secondary-navigation ul {
          display: flex;
          overflow: auto;
      }
      .secondary-navigation .sf-menu>li {
          float: none;
          flex: 1 0 auto;
      }
    }
    #1304655
    Rohan Verma

    Awesome it worked. Thanks David.
    1) Can we add the any icon before the navigation menu just like the example site I gave.
    2 How to make the pagination button style

    Thanks in advance

    #1304679
    David
    Staff
    Customer Support

    1. Try this CSS:

    .secondary-navigation:before {
        content: '';
        float: left;
        display: block;
        width: 40px;
        height: 40px;
        background-image: url('your_image_url')
    }

    2. I suggest starting a new topic for this

    #1304824
    Rohan Verma

    Thanks, David. everything works now. Your support is awesome

    #1304891
    David
    Staff
    Customer Support

    Glad to be of help

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