Change header height - by capri_2794 - on WordPress WooCommerce support

9 replies2 participantsUpdated by Rose Tyler

  • Avatar: capri_2794
    capri_2794
    Participant

    Hello,

    I need to change header height of my theme. I have added CSS codes as mentioned previously in the forum but they have not helped. I need 5px padding on top and bottom of my logo.

    Please help.

    Regards

    Please, contact administrator
    for this information.

    9 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Please try to change this custom css code (Theme Options > Custom css > Global custom css):

    .header .navbar {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    to

    .header .navbar {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    .header .navbar .tbs {
        padding-top: 0px;
    }

    Also, Theme Options > Header Settings > Header color scheme > Dark.

    Regards

    Avatar: capri_2794
    capri_2794
    Participant

    Thank you Rose for your help.

    But there are a few things that I need:
    -The fixed navigation header has shrinked but not the actual one when I am on top of the page.
    -The fixed navigation header has become blac (dark) but I need it to be light.

    Regards

    Avatar: capri_2794
    capri_2794
    Participant

    I have changed padding value and the above problem has been resolved. But will be please tell how to make the “cart” area smaller? Because it is being chopped off from the top.

    Also, I need it to say “bag” instead of “cart” throughout the website.

    Please tell how I can make that change.

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    1) Please describe the desired result in more details.
    2) http://prntscr.com/len1ry https://prnt.sc/len21h

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Try to change “Cart” using translation files https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/ create English translation for Royal theme, change strings, for example, http://prntscr.com/len3kg and disable the plugin.

    Regards

    Avatar: capri_2794
    capri_2794
    Participant

    All done. Just as mentioned previously, the cart button is being cut. Here is how it is:
    https://prnt.sc/leovxk

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    .header .cart-bag {
        padding-top: 13px;
    }
    .header .badge-number, .fixed-header-area .badge-number {
        top: 12px;
        right: -8px;
    }

    Also, Theme Options > Header Settings > Fixed header color scheme > Dark.

    Regards

    Avatar: capri_2794
    capri_2794
    Participant

    I have used this custom CSS but the problem is still there:
    http://prntscr.com/lgmhmb

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Please clear cache and check one more time – http://prntscr.com/lh9kh9

    Regards

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register