• Resolved Tronquini

    (@tronquini)


    I’m having trouble to cut off the header of oceanic theme.
    I just want cut off the header keeping the existing menu and slider.

    Can anyone help, please?

    Thanks!

Viewing 13 replies - 1 through 13 (of 13 total)
  • Have you tried by using css? a link to your site would help by the way.

    Thread Starter Tronquini

    (@tronquini)

    Yes, but i can’t find the right code to change the height.

    This is the link: https://fatorpropaganda.com.br/teste_aduana/

    Thank you!

    So just to be clear, you want to close the space between the menu and top of the site where the header was right?

    Thread Starter Tronquini

    (@tronquini)

    Yes. No space between top and menu.

    Add these two CSS to your child theme or custom css area.

    .oceanic-header-layout-standard .site-header-right {
        display: none;
        float: right;
        font-size: 12px;
        min-height: 0;
        padding: 0;
    }
    .oceanic-header-layout-standard .site-header-left {
        display: none;
        float: left;
        min-height: 0;
    }

    Hope this helps

    Thread Starter Tronquini

    (@tronquini)

    Thnak you!

    I will test.

    You’ll have a thin white space.

    Thread Starter Tronquini

    (@tronquini)

    Don’t know why. But it’s not working.
    Here is the actual code:

    .oceanic-header-layout-standard .site-top-bar-left-text {
    		text-align: center !important;
    	}
    
        .site-header-left {
            float: none !important;
            width: 100% !important;
            text-align: center;
        }
        .site-header-right {
            float: none !important;
            width: 100% !important;
            text-align: center;
            padding: 10px 0 0 !important;
            min-height: 40px !important;
        }

    What do you mean this is the actual code? I saw what the code was. Where are you inputting the code I posted?

    Thread Starter Tronquini

    (@tronquini)

    I’m just replacing this code with the code you send.
    Isin’t right?

    No. You need a child theme or custom css plugin if your theme did not already come with a custom css option. Then you need to copy paste the code I gave you exactly as is.

    If your theme does not have a custom css option then please install the following plugin and activate it.

    https://www.ads-software.com/plugins/custom-css-editor/

    Now you can find the setting in the sub menu of appearance in your dashboard. Go to it and Add a New Code. Label it Custom CSS. Now input the code and publish it.

    Thread Starter Tronquini

    (@tronquini)

    Thank you!

    It’s working perfectly now:
    https://fatorpropaganda.com.br/teste_aduana/

    You’re welcome. Have a good day.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘How to Cut Off the Header’ is closed to new replies.