Site logo

Archived topic

header no padding and bottom border

1 reply · Started by Kimberly on May 11, 2019

Viewing posts 1–2 of 2

1. I am trying to use the site logo in the customizer for the header. I put it in and changed the padding to 0 on order to make the image take up all of the space with no padding. It was working, then I adding the Woo Commerce plugin. I put the pages that Woo Commerce generates into a secondary navigation. As soon as I did that, the header 0 padding does not display, even though it says 0 in the customizer. I removed the secondary menu, but it still displays with padding.

2. I have a border around the header with one color for sides and top, but black on the bottom. Is there a way to make the bottom border go straight across instead of being angled?

Hi there,

1. Remove this line from your child theme style.css file:

@import url("../generatepress/style.css");

2. Instead of adding the black border to the main header and navigation elements, do this:

.inside-header {
    border-bottom: 20px solid black;
}

.main-navigation .inside-navigation {
    border-top: 20px solid black;
}

Hope this helps :)

This archived topic is closed to new replies.