admin管理员组文章数量:1327945
When I create an image gallery in a WordPress entry with shortcode [gallery] and put their titles on them, they appear in H3
Any way to change them to be on h4? Example of a gallery image created in WordPress:
<figure class="gallery-item">
<div class="gallery-icon landscape">
<a href=".jpg"><img width="150" height="150" src="https:/huerto/wp-content/uploads/2020/05/cultivo-de-ajo-en-tobo-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="cultivo de ajo en tobo"></a>
</div><figcaption class="wp-caption-text gallery-caption" id="gallery-1-5458"><h3 id="Cultivo_de_ajo_en_tobo">Cultivo de ajo en tobo</h3><p>cultivo de ajo en tobo</p></figcaption></figure>
When I create an image gallery in a WordPress entry with shortcode [gallery] and put their titles on them, they appear in H3
Any way to change them to be on h4? Example of a gallery image created in WordPress:
<figure class="gallery-item">
<div class="gallery-icon landscape">
<a href="https://huerto/wp-content/uploads/2020/05/cultivo-de-ajo-en-tobo.jpg"><img width="150" height="150" src="https:/huerto/wp-content/uploads/2020/05/cultivo-de-ajo-en-tobo-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="cultivo de ajo en tobo"></a>
</div><figcaption class="wp-caption-text gallery-caption" id="gallery-1-5458"><h3 id="Cultivo_de_ajo_en_tobo">Cultivo de ajo en tobo</h3><p>cultivo de ajo en tobo</p></figcaption></figure>
Share
Improve this question
edited Aug 1, 2020 at 18:30
fuxia♦
107k38 gold badges255 silver badges459 bronze badges
asked Aug 1, 2020 at 16:30
juanjuan
12 bronze badges
1 Answer
Reset to default 0I am unsure of the issue. If it is simply the text is too large, try using CSS to scale the font size.
.gallery-item h3 {
font-size: 1rem;
}
本文标签: imageschange the h3 subtitles of the wordpress gallery shortcode
版权声明:本文标题:images - change the h3 subtitles of the wordpress gallery shortcode 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742215792a2434542.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论