Hello @pbaptiste
Thank you for reaching out. We completely understand your concern regarding BetterDocs not inheriting your theme’s background color. To achieve the desired look, you can apply the following custom CSS:
For the main BetterDocs background:
.betterdocs-search-modal-layout-1 .betterdocs-search-layout-1 {
background-color: #E6DED2;
}
.betterdocs-wrapper.betterdocs-docs-archive-wrapper {
background-color: #e6ded2;
}
If you would also like the category box background to match the same color as shown in my video, you can use this CSS:
.betterdocs-wrapper.betterdocs-docs-archive-wrapper.betterdocs-category-layout-7 .betterdocs-content-wrapper .betterdocs-shortcode .betterdocs-categories-folder.layout-4 .category-box {
background-color: #e6ded2;
}
You can see an example in the video here: https://d.pr/v/SxJLZV
You can add the custom code, you can go to your WordPress Dashboard => Appearance => Customizer the find the “Additional CSS” section, paste the code and save/publish it.
Applying these styles should help BetterDocs align with your global theme colors seamlessly.
Warm regards,
Hello @pbaptiste,
I hope you’re doing well. I wanted to follow up regarding your previous inquiry, as we haven’t heard back from you yet. Has your issue been resolved, or is there anything else we can assist you with?
Please let us know if you need further support. Wishing you a wonderful day!
Thank you.
Hello again @pbaptiste
I hope you are doing well.
About your issue, We still haven’t heard back from you. So, I am assuming your issue has been resolved. I am resolving this topic.
Have a nice day!