- This topic has 12 replies, 2 voices, and was last updated 7 years, 10 months ago by Mahesh.
-
AuthorPosts
-
March 24, 2016 at 2:44 am #88104catwingzParticipant
Hi, the image captions are getting squished over to the right side and are preceded by a hyphen, sort of like a list bullet. I an fix the padding issue by adding
.wp-caption .wp-caption-text { padding-left: 8px; }
to the custom CSS, but the hyphen remains, with the caption riding on top of it. This makes the first part of the caption difficult to read. How can I get rid of the hyphen?
Also, how can I change the background for the widget area of the footer?
thanks
March 24, 2016 at 12:12 pm #88139March 24, 2016 at 8:50 pm #88185catwingzParticipantMarch 24, 2016 at 8:51 pm #88186catwingzParticipantMarch 24, 2016 at 8:53 pm #88187catwingzParticipant!!! Integration Massage
Hopefully this time it will work!March 25, 2016 at 10:07 am #88218MaheshKeymaster@catwingz: Go to “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS:
/* Remove preceding hyphens from caption */ .wp-caption .wp-caption-text::before { content : ""; } /* For widget area background */ #supplementary .widget { background-color: #f1f1f1; } /* For widget area outer background (Please skip this if you don't need this) */ #colophon { background-color: #f1f1f1; }
Note: Please change the color as you required.
Let me know if any problem.
Regards,
MaheshJune 14, 2016 at 8:18 am #93498catwingzParticipantHi, I am back to this project, and we are half-way there. The hyphens are gone, but now the background color for the images has to go. I tried changing the code from the last post to #ffffff, but it has no effect. What am I missing?
thank you
June 14, 2016 at 10:48 am #93511MaheshKeymaster@catwingz: Add the following CSS for removing background color from image:
#branding { background-color: none; }
Regards,
MaheshJune 14, 2016 at 11:10 am #93516catwingzParticipantMahesh, thanks, but that doesn’t appear to change anything. This is the background for images with captions. I would like to either remove it or change it to white.
June 14, 2016 at 4:48 pm #93554MaheshKeymaster@catwingz: Can you please give me the url of the page, where you want this? I am a bit confused.
Regards,
MaheshJune 14, 2016 at 10:20 pm #93580catwingzParticipantJune 18, 2016 at 4:30 am #93798catwingzParticipantIt turned out to be a very simple solution.
.wp-caption { background: #ffffff; }
June 19, 2016 at 9:47 am #93831 -
AuthorPosts
- The topic ‘Image captions and footer background’ is closed to new replies.