• Michiel

    (@michiel)


    Is there a way to change the font size of the image captions when using the build in Gallery?

Viewing 6 replies - 1 through 6 (of 6 total)
  • blackbookdesign

    (@blackbookdesign)

    yeah sure. all css. use firebug in firefox and create the proper css for it. (i did it a few times but
    it was a while ago.)
    Cheers

    Thread Starter Michiel

    (@michiel)

    Ok, will try that out. Do you know if it is possible to only show the captions on the individual post page, so not on the post roll (index.php) page?

    humm thats a good one! ?? maybe by using a conditional comment where the captions are getting generated would work.
    somthing like this like this:

    <?php
     if ( is_single()  ) {
    Do show caption code ;
    } else {
    Do not show caption code ;
     }?>

    cheers

    Thread Starter Michiel

    (@michiel)

    I was thinking too but could not find any function code that would refer to the caption… at least the codex does not help on this one. In case you find something, let me know:-)

    dunno if you could play lots in it but check media.php in wp-includes.
    around line 562 its the caption shortcode.

    Now you can play with it ??
    Let me know if you make it work.

    cheers

    Thread Starter Michiel

    (@michiel)

    I think I will change the approach, seems that the caption is not that ideal as e.g. lightbox takes the image title. I will now try to get the image title below the images in stead:-)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Font size of Gallery captions’ is closed to new replies.