Hello,
I would like to have a 1px border of color #e0e0e0 on the right of the left sidebar, which contains Logo and Main Menu. When there is a color section within the page (link1), there is a border, however on posts (link2) and search results pages (link3), there is no border. I would like to have a border on all posts and search results pages, and on a list of specific pages via id. If it is possible to display the border for the complete site in general, will it not then result in a 2px border where the border is now already is?
Thank you,
Marina
Hey Marina,
Thank you for the inquiry.
You can use this css code to apply a border to the left sidebar/header.
.html_header_sidebar #top #header {
border-right: 1px solid;
}
Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
Ismael
Hello Ismael,
And now it is needed to move this border 1px to the right, since on posts/search there is a white line next to the border (link1), and on main page (for ex.) there is a 2px border (link2).
Thank you,
Marina
Hi,
Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:
.html_header_left #wrap_all #main {
border-left-style: none;
border-left-width: 0;
}
After applying the css, please clear your browser cache and check.
Best regards,
Mike
Hello Mike,
Everything looks good now, thank you. You can close the ticket.
Best regards,
Marina
Hi,
Great, I’m glad that Mike could help you out. I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.
Best regards,
Rikard