I'm building a custom template for my website and I am encountering an issue when adding captions to both the intro image and full article image. Using version 3.9.25.
I am running the site on my laptop via localhost, meaning it's not live, so I can't provide a link to it.
Using the Web Developer tool in Firefox, I have found that the <div> tag with the class "image_caption none" has an embedded style attribute in it, which makes any CSS rules defined in the style sheet useless.
This is the code in the full article view. The code in the featured view is similar, except the width is 326px.
Code: Select all
<div class="image_caption none" style="float:none; width:652px;">...</div>
I am assuming that I will need to edit one of the core files that generates the code? If so, which one?
Thanks in advance for any assistance.