Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • mongela Friend
    #158631

    Which CSS file do I use to edit the photo caption style? Right now, I’m using a serif Google font in my T3 settings, but I want the captions to be sans serif.

    Thanks for any help!

    aman204 Friend
    #371461

    You can change this::

    .img_caption p {template.css (line 309)
    background: none repeat scroll 0 0 #333333;
    border-top: 1px solid #FFFFFF;
    color: #CCCCCC;
    margin: 0;
    padding: 1px 0;
    text-align: center;
    }

    to

    .img_caption p {template.css (line 309)
    background: none repeat scroll 0 0 #333333;
    border-top: 1px solid #FFFFFF;
    color: #CCCCCC;
    font-family: sans-serif;
    margin: 0;
    padding: 1px 0;
    text-align: center;
    }

    mongela Friend
    #371525

    I made this change to the template.css file and it’s not changing. I am using the EasyImage Caption extension. Could that be overriding the template.css?

    thuanlq Friend
    #371587

    Hi,
    Yes, img-caption got overridden by EasyImage Caption extension, so, you can override again in template.css file
    change this code


    /*template.css at line 306*/
    .img_caption p {
    padding: 1px 0;
    color: #ccc;
    background: #333;
    border-top: 1px solid #fff;
    margin: 0;
    text-align: center;
    }

    to


    /*template.css at line 306*/
    .img_caption p {
    padding: 1px 0;
    color: #ccc;
    background: #333;
    border-top: 1px solid #fff;
    font-family: sans-serif !important; /*this line override font-family for imgcaption */
    margin: 0;
    text-align: center;
    }

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  thuanlq 13 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum