WordPress.org

Ready to get started?Download WordPress

Forums

Atahualpa
How to change the wp-caption class to have another padding? (1 post)

  1. grady55
    Member
    Posted 2 years ago #

    Hello, I am using this code to add an image with a caption to my post.

    [caption id="" align="alignright" width="230" height="310" caption=' <a href="someurl" target="_blank" title="some title">some link text</a>'] <a href="somelink" target="_blank" title="sometitle"><img alt="" border="0" height="300px" hspace="15" vspace="19" src="image url" vspace="19" width="230px" /></a>[/caption]

    The hspace/vspace is not working here and I think I have to change the default padding of the used wp-caption css class. Is this right and if yes, where do I change it? I looked in the style.css in the themes folder, but changes to the class dont change anything, besides that the files seems a bit small, it only has 53 lines on my installation. Is this the right place? What I want to achieve is to have more space between my text and the image having a caption.

    Thanks :-)

    http://wordpress.org/extend/themes/atahualpa/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags