WordPress.com Forums » Topic: Hyphen added before caption texthttps://en.forums.wordpress.com/topic/hyphen-added-before-caption-text
WordPress.com Forums » Topic: Hyphen added before caption textenTue, 03 Mar 2015 20:44:36 +0000http://bbpress.org/?v=1.1-alpha-2539panaghiotisadam on "Hyphen added before caption text"https://en.forums.wordpress.com/topic/hyphen-added-before-caption-text#post-734803
Wed, 02 Nov 2011 01:48:21 +0000panaghiotisadam734803@https://en.forums.wordpress.com/If you copy-pasted the code from here into the widget, then no code should show up. Maybe you made a mistake while copy-pasting it, for instance something like omitting the initial bracket. Or perhaps you copypasted it into another document first then from there to the widget?
]]>relovedhome on "Hyphen added before caption text"https://en.forums.wordpress.com/topic/hyphen-added-before-caption-text#post-733943
Mon, 31 Oct 2011 21:44:21 +0000relovedhome733943@https://en.forums.wordpress.com/Thanks loads. I gave it a go and the code appears as well on the blog - do I need to do something else inside the text widget so just want I need appears?. Sorry for being so dense but very new to wordpress!
]]>panaghiotisadam on "Hyphen added before caption text"https://en.forums.wordpress.com/topic/hyphen-added-before-caption-text#post-733487
Mon, 31 Oct 2011 13:19:41 +0000panaghiotisadam733487@https://en.forums.wordpress.com/Captioned images are preconfigured formulas you cannot modify (except if you have the paid CSS upgrade). If you want the same look but without the dash, you must remove the Image widget and use code in a Text widget instead:<div class="wp-caption alignnone" style="width:187px;"><img style="width:177px;" src="IMAGE URL HERE" alt="DESCRIPTION HERE" /><p style="padding:12px 5px 0;">CAPTION TEXT HERE</p></div>

Note: the image you have used is 1600px wide. There's no point uploading such a large image when the maximum you can have in your sidebar is 177px: you're just wasting storage space and increasing the loading time of your page (also, when you use an Image widget, Internet Explorer may show the original instead of the automatically downsized version). Better downsize a copy of your image in an image editing application to a width of 177px, upload that copy in Media > Add New, copy the File URL and use that URL in the above code model. This will give you better quality as well, because images downsized by WP lose some color and sharpness.

]]>1tess on "Hyphen added before caption text"https://en.forums.wordpress.com/topic/hyphen-added-before-caption-text#post-732830
Sun, 30 Oct 2011 13:14:54 +00001tess732830@https://en.forums.wordpress.com/Is this the blog you are asking about?http://relovedhome.wordpress.com/

I don't see you using any image widgets.

]]>relovedhome on "Hyphen added before caption text"https://en.forums.wordpress.com/topic/hyphen-added-before-caption-text#post-732827
Sun, 30 Oct 2011 13:10:07 +0000relovedhome732827@https://en.forums.wordpress.com/It automatically adds a hyphen before any caption text on the image widget - does anyone know how to get rid of it?
]]>