• 0
Sign in to follow this  
Followers 0

CSS in Content/Post Loop


Question

Posted · Report post

Hi guys,

 

The base color for text on my website is white.  So I've inserted a Content/Post Loop section on my website (which has a white background). As you can see the text within the loop is the base color of the website and therefore is not visible on the same color background.

 

Screenshot: http://cl.ly/image/1l0q2S160j2q

 

I've been trying to change this trough css, but I'm not very good at it. I've tried the following wild guesses, but unfortunately they didn't work (I really don't know css):

 

media="all"
body {
font-size: 14px;
font-family: "Open Sans","Helvetica Neue",Helvetica,sans-serif;
font-weight: 300;
line-height: 1.55em;
color: #000000;
}
 
and
 
object="PageLinesPostLoop"
bodg {
font-size: 14px;
font-family: "Open Sans","Helvetica Neue",Helvetica,sans-serif;
font-weight: 300;
line-height: 1.55em;
color: #000000;
}

 

So my questions is... Can you please help me change the font color?

 

Oh by the way, I know I can just add "<font color="red">This is some text!</font>" in the posts, but I also want it to work for my e-mail form which is implemented in posts.

 

Hope it's clear. Thanks!

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Posted · Report post

Okay.. So I found this on w3 schools and added it to the css section. Guess what.. It worked haha :) So I guess this topic can be closed now. Hope someone can use it in the future.

 

body {color:blue;}
h1 {color:#00ff00;}
h2 {color:rgb(255,0,0);}

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I just realized.. What would be the perfect solution is one line that rules them all out saying all font in the content/post loop section must be black (unless defined otherwise within the post itself).

 

I know you guys aren't here for css. But I would really appreciate the help :)

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Okay.. So I found this on w3 schools and added it to the css section. Guess what.. It worked haha :) So I guess this topic can be closed now. Hope someone can use it in the future.

 

body {color:blue;}
h1 {color:#00ff00;}
h2 {color:rgb(255,0,0);}

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks for informing us your issue has been resolved and for sharing.

1 person likes this

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  
Followers 0