[Resolved] CSS for desktop

Home Forums Support [Resolved] CSS for desktop

Home Forums Support CSS for desktop

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #1172849
    Sagar

    .site-logo.mobile-header-logo img {
    padding: 0 !important;
    }

    I need an another css code which works perfectly on desktop, too.

    #1172854
    Leo
    Staff
    Customer Support

    Hi there,

    There is actually no padding applied to the desktop logo image.

    Perhaps you are referring to the 8px top header padding?
    https://docs.generatepress.com/article/header-padding/

    Let me know ๐Ÿ™‚

    #1172864
    Sagar

    I need to show the sticky header section as same as normal header. The logo and text are being smaller on sticky header. How can I change that to permanent as header setting?

    #1172868
    Leo
    Staff
    Customer Support

    Would this option work for you?
    https://docs.generatepress.com/article/navigation-as-a-header/

    Let me know ๐Ÿ™‚

    #1172875
    Sagar

    No. I had tried that one. The logo is not being attached with same size on sticky and on non-sticky as like on mobile.
    Could you please provide me the working solution?

    #1172877
    Sagar

    https://bloggingguidance.com/
    Please view this site.
    I need this type of setting on header and sticky navigation.
    The logo and navigation are not being changed on their position while scrolling. I need exactly like this.

    #1172898
    Leo
    Staff
    Customer Support

    That site is built with GP and definitely using the navigation as a header option as I pointed out.

    Can you activate it so I can see the issue you are having?

    #1172911
    Sagar

    Just activated the navigation as a header. You can check now.

    #1172936
    Leo
    Staff
    Customer Support

    Can you try removing the sticky navigation logo?
    https://docs.generatepress.com/article/sticky-navigation/#sticky-navigation-logo

    No need to upload that if it’s the same logo.

    #1172944
    Sagar

    Yeah just removed that, too. But still facing the same problem.

    #1172952
    Leo
    Staff
    Customer Support
    #1172957
    Sagar

    Yeah, the menu width height and sub-menu are 20 60 and 10 by default.

    #1172960
    Leo
    Staff
    Customer Support

    What about the sticky navigation height?
    https://docs.generatepress.com/article/sticky-navigation/#menu-item-height

    The code is showing that you are using 76px. Can you try using 60px?

    #1172963
    Sagar

    It’s working now. But I don’t want this logo looking too small on the header. The logo size is looking perfect on mobile.
    Can’t I adjust as like on mobile devices?

    #1172964
    Leo
    Staff
    Customer Support

    Try this CSS:

    .navigation-branding img {
        padding: 0;
    }
Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.