Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #250379

    Hi
    i wanted to change the caption text css and tried it via the css quick box in enfold styling

    I chnaged that
    .wp-caption-text {
    display:block;
    font-size:11px;
    font-style:italic;
    margin:0 auto;
    padding:3px 10px 5px;
    text-align:center;
    font-family: Georgia,”Times New Roman”;
    }

    into

    .wp-caption-text {
    display:block;
    font-size:12px;
    font-style:bold;
    margin:0 auto;
    padding:3px 10px 5px;
    text-align:center;
    font-family: "Roboto", arial, sans-serif !important; }

    But nothing changed.

    #251005

    Hey heufti65!

    Please try adding !important rule as following

    .wp-caption-text {
    display:block !important;
    font-size:12px !important;
    font-style:bold !important;
    margin:0 auto !important;
    padding:3px 10px 5px !important;
    text-align:center !important;
    font-family: "Roboto", arial, sans-serif !important; }

    And flush browser cache after applying the code. If that still does not work, please try adding the code to Custom.css file inside Enfold/Css folder of your parent theme or Style.css file of your child theme if you are using one.

    Regards,
    Yigit

    #779767

    This was helpful! How do you remove italics from the captions? Thanks so much!

    #779790

    Hi,

    Try to add this:

    font-style: normal;

    inside:

    .wp-caption-text {
    
    }

    Hope this helps :)

    Best regards,
    Nikko

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