Archived topic
Change margin
5 replies · Started by Jose on July 22, 2020
Hi,
I want to delete the space between the menu and the slider. Then, I want to add some margin in the left of the menu, to star the first menu element in the same level the logo is placed!
Regards,
Hi there,
i can see a Rich Text Widget has been used to add the Slider to it.
Part of the sliders code is this HTML Comment:
<p><!-- START Slider 1 REVOLUTION SLIDER 6.2.2 --></p>
Which although is not displayed has 1.5em bottom margin attached to it.
I am not sure if the comment can be removed. If not can you add a CSS Class to the Rich Text Widget eg. remove-margin
Then you can add this CSS:
.remove-margin > p {
margin-bottom: 0 !important;
}
For the naviation - why not set the Customizer > Layout > Primary Navigation -- Alignement to center ?
Nothing with the margin, it still there. I can delete it with negative amrgin in the slider, but I should do it in all the pages...
If you can add a CSS Class to the module containing the slider i can help with CSS to remove the P tags bottom margin:
https://kb.wpbeaverbuilder.com/article/85-add-a-css-id-or-class-name-to-a-module
No problem, I have solved it!
Regards,
Glad to hear that!