Just wondering if you can help me here.
If you look at my website I see the fond under the category image is very small.
I would like to increase the size of the font and also put a background color behind the wording.
I cant quite get the right code for this one..
So
Increase the size of the font and change its color. And also put a background color behind these words only.
Can the background color have rounded corners as well.?
Thanks for any help
Hey wealthyone,
Please try the following in Quick CSS under Enfold->General Styling:
.tax-product_cat .term-description p {
font-size:16px;
background-color:green;
}
Best regards,
Rikard
Thanks
is it possible to Indent the words from the sides and also make the background color a complete box area
If there is a 2nd paragraph it leaves a gap in the background color
oh also with rounded corners.
So a complete box with rounded corners that the words sit within
Hi,
Try this instead:
.tax-product_cat .term-description p {
font-size:16px;
background-color:green;
margin:0;
border-radius:5px;
padding: 5px 10px;
}
Best regards,
Rikard
Hi,
If you want to do things like this yourself then it’s well documented around the web, here for instance: https://www.w3schools.com/. Writing basic CSS is not theme, or even CMS specific.
Best regards,
Rikard
Yes I am learning. Have done a lot lately with the right click & Inspect
Just getting the right first line is important
like
.tax-product_cat .term-description p {
And that code is perfect..
Thank you very much