Home Forums Basel support forum Header above the content Colour

Header above the content Colour

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20991

    lhughes
    Participant

    Hi, I have to enable “Header above the content” so that the woocommerce “brand” pages display properly, but it does extend the height of the page header with a white space that attaches to the bottom of the main menu.

    Is there a way I can change the colour of the extra space created between the menu and the page so that I can get it to blend in with the page. I have tried to inspect code to determine css element but not having much luck. I have included a screen shot of the extra page area created by enabling “header about content”. This is the area I want to be able to customize or change colour, or even better, make transparent. It is white by default.

    Is there a code snippet that might help please?

    Attachments:
    You must be logged in to view attached files.
    #20995

    Artem Temos
    Keymaster

    Hi,

    It doesn’t add any height to the page header since this page doesn’t have a page title at all (as your shop page for example). It is a regular header margin bottom and it is not possible to change margin background color in CSS.

    Regards

    #21000

    lhughes
    Participant

    Hi thanks so much for your reply. Is there a way to reduce the size of the margin.

    #21004

    Artem Temos
    Keymaster

    Yes, you can do this with the following code snippet

    .main-header,
    .header-spacing {
    	margin-bottom: 20px!important;
    }
    #21006

    lhughes
    Participant

    Thank you so much I really appreciate it.

    #21010

    Artem Temos
    Keymaster

    You are welcome!

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Header above the content Colour’ is closed to new replies.