- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I am working on a portfolio which displays images in a row. I am using WordPress and its native gallery. Now I am stuck on editing the caption. Although I have edited the css and tried to go on the media.php, nothing changes. The caption floats on the right of the image like here:
http://www.dropbox.com/s/b11nyqkzlnnf2xb/Screenshot%202014-07-31%2014.15.58.png
I just would like to simply put the caption under the image.
Could anyone please help me with this? Thanks in advance.
We’d need to see the HTML that is generated to offer solutions.
Hi Paulie_D
Here is the generated HTML from firebug:
We can’t tell anything from that image.
Could you make a reduced case of a single wrapper + image etc. in Codepen.io?
Alternatively, a link to the live site?
Sorry about that Paulie_D
Here is the link to the live site:
http://www.laetitiaperles.ch/
Each of these ‘gallery-items’ and children seem to have what I assume are automatic classes applied…but there is no styling applied for the classes.
<dl class="gallery-item">
<dt class="gallery-icon landscape">
<img width="600" height="600" src="http://www.laetitiaperles.ch/wp-content/uploads/2014/06/000182110008-700x700.jpg" class="attachment-large" alt="three">
</dt>
<dd class="wp-caption-text gallery-caption">three</dd>
</dl>
Paulie_D
I got it. Solved.
I added this to my style.css
dd.gallery-caption {
margin-top: 400px;
}
It took me 3 weeks to find out. Thank you for helping me out.