Hello there
I was just wondering how to add a border on the Table of Contents widget and the Latest News box I added on the left sidebar and right sidebar. I have attached a screenshot of the page and left the link in private.
I want a thin 1px border with some padding around all sides. What codes do I need?
Thanks for the support :)
Best Regards,
Mike
NOTE: I have several codes in each widget so if I add a border through ‘Edit column’, it adds a border on the whole widget. I just need specific borders on those 2 things mentioned above…
Hi,
Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:
#main .avia-widget-container.avia_auto_toc,
#main .avia-widget-container.newsbox{
padding: 5px;
border: 1px solid #f6971a;
}
After applying the css, please clear your browser cache and check.
Best regards,
Mike