Jump to content
Sign in to follow this  
elkiehound

Text in Feature - Entire Width of Photo

Recommended Posts

elkiehound

In the feature box, I would like the text to display across the entire image, not wrap in the left or right only. My image is 100x330, and I want the text to be across the entire image. Can someone give me the specific CSS rule to modify this. Yes, I have read all the CSS tutorials already. Thanks

Share this post


Link to post
Share on other sites
catrina

Do you want the text to overlay the entire image, across the bottom, or across the top?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
elkiehound

Center actually, however Top would be good.

Share this post


Link to post
Share on other sites
catrina

Here is the code you need to add to base.css:

div.fcontent {width: 1000px; height: 330px;}

Since the image's height is only 330px, the text area will overlay the entire image. (I'm assuming that 100x330 was a typo and you meant 1000x330)


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
elkiehound

Hi Catrina, No luck. I would like to include in the css settings. I have them as: /* change top padding on highlights */ #highlight .content-pad .highlight-area { padding: 12px; } #highlight .content-pad .highlight-area { background: #FFFF66; } /*Change width of text on features*/ div.fcontent {width: 1000px; height: 330px;} Your recommendation is at the bottom, the other rules work, however this has no effect on the text in the features box, still wrapped on left.

Share this post


Link to post
Share on other sites
kastelic

I would first set the feature text position to be "text on bottom" in the feature's settings. Then you've already got it displaying across the width of the feature. It's absolutely positioned so you can adjust it up and down and adjust the height like this:

#feature_slider .fcontainer.text-bottom .fcontent {
	bottom:100px;
	height:150px;
	}

Share this post


Link to post
Share on other sites
elkiehound

Thanks Jimmy, That works, after playing with it a bit, the final to get the text just right was #feature_slider .fcontainer.text-bottom .fcontent { bottom:0px; height:200px;

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  

×