Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1109026

    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

    #1109122

    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

    #1109155

    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

    #1109160

    oh also with rounded corners.

    So a complete box with rounded corners that the words sit within

    #1109343

    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

    #1109344

    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

    #1109348

    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

    • This reply was modified 5 years, 5 months ago by wealthyone.
    #1109399

    Hi,

    Great, I’m glad that you got it working and thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.