Fix widget image and caption background on Twenty Eleven theme
-
I would greatly appreciate some help on fixing my image in the widget area “Todays CAT”. It is [image 2]. It is fine until I add a caption. Then you will see the light grey background and the image not centred. Must be some padding there.
The blog I need help with is: (visible only to logged in users)
-
I added this code. Is this correct or will it affect the image captions on posts and pages.
.wp-caption .wp-caption-text:before {
display: none;
}.wp-caption .wp-caption-text {
text-align: center;
padding: 5px 0 0;
}.wp-caption {
background: transparent;
padding: 2px;
}This is the original code (still in place in CSS) that I added which puts the border around the widget image fro Todays Cat.
#image-2 img {
border: 3px solid #cc0000;
width: 97%;
} -
Click this link https://en.forums.wordpress.com/forum/css-customization#postform and post into the CSS Forum where you can get the CSS editing help you need please.
-
- The topic ‘Fix widget image and caption background on Twenty Eleven theme’ is closed to new replies.