Jump to content
Sign in to follow this  
qamera

Change text margins in RSS Photo widget

Recommended Posts

qamera

My photos are 150 pixels wide, centered in the middle of the widget. I would like the Captions to also be the same. Help?

Share this post


Link to post
Share on other sites
Guest Guest

Ok thanks. Really quick, are you wanting it centered? Or do you just want it to align left along with the image.

Share this post


Link to post
Share on other sites
Guest Guest

Oh durp you already said centered in your first post. Okay, try this in the custom CSS

body .widget-title {font-size: 1.1em;}
	body .widget-title {text-align: center;}

Share this post


Link to post
Share on other sites
qamera

Thanks - actually I've already got them centered. I want them to be centered with maximum width of 150 pixels, same as the photos...

Share this post


Link to post
Share on other sites
Guest Guest

Oh I was confused about which text you were trying to do this to. I was looking at the titles, not the captions. Nevertheless, I don't think having a max width is gonna work. That would involve making the text dynamic enough to resize to fit within that space. For example, the caption on the third photo, "Market commerce, Saigon", is already almost the full width of the image just because of how long the caption is. I wish I had a solution for you but in this instance I don't think there really is one. Anyone else have any ideas?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×