Okay
  Public Ticket #281545
image/photo captions
Closed

Comments

  •  1
    Gilda started the conversation

    Hi

    what is the css code for formatting font-family/font-size for image captions?

    Thanks so much.

    Gilda

  •  8,839
    Tahir replied

    Hey Gilda!

    Can you please provide the page url so i can write up the css selector for you .

    Thanks


    ThemeNectar Support Team 

  •  1
    Gilda replied

    Sorry for the delay

    Here is one of the pages (a post) : http://www.drpop.org/occupy-london-stock-exchange/

    Thank you.

  •  8,839
    Tahir replied

    Hey Gilda!

    Add this into the Custom CSS box located in your Salient Options panel :
    p.wp-caption-text {
        font-family: 'Open Sans', sans-serif;
        color: #676767;
        font-size:25px !important;
    }
    
    Thanks


    ThemeNectar Support Team 

  •  1
    Gilda replied

    Thank you!  That worked great....

  • lesley replied

    Dear Nectar,

    On my site www.phtfr.com i added the css from above to add my first caption to a test-image on my homepage.

    did not work, just got a real cute border... :)

    I will have many many images.... so i would love to learn how to add captions.

    Just adding a caption text to the image in the media library and then add a class to the image is not the whole process, i think? Sorry for such a trivial question, but i would appreciate it greatly!

    thank you very much!!! lesley

  •  8,839
    Tahir replied

    Hey Lesley!

    That caption is only available when you embed an image using the "Add Media" button . On your site you are using the Visual Composer Image element so it wont work in that.

    Thanks


    ThemeNectar Support Team 

  •  1
    Gavin replied

    Hi, is there a way to edit the appearance of the captions also? I'd like it to just be a simple text underneath the image, without all of the formatting on it. 

    an example of a page with captions is this one https://www.thelaststraw.org/clay-plaster-might-save-world/

    Thanks!

    Gavin

  •  1,877
    Judith replied

    Hi Gavin,

    Please send in your admin login credentials so that we can check this out.

    Thanks.

  •   Gavin replied privately
  •  8,839
    Tahir replied

    @Gavin,

    This is a public ticket, please create a new private ticket and share your credentials there as well as the Login url .

    Thanks 


    ThemeNectar Support Team