Jump to content

[SOLVED] How can i make the footer font color different from the rest? Don't let me down - I've messed with css 'til the cows come home!


Recommended Posts

My page has a white background, all the links are coloured green(line 156 - which controls almost every text on my page apart from modules somehow), but my footer background is green - therefore I want to make the text on the footer white (footer block various links) - how can i do this without turning all links white? I just want the footer block various links white. This must be an easy one, no?

Link to comment
Share on other sites

I used firebug and I found the places that control the text but I cannot seem to make it so that this text is different from the others. if I change something - it all changes.

The global style controls the text and is here in line 156:

/* global style */
a {
   color: #80CB15;
   text-decoration: underline;
   outline: none
}



The footer and links are controlled from line 847:

/* Footer */
#footer {
   border-top: 1px solid #d0d3d8;
   padding: 0.5em 0;
   clear: both;
   background: #80CB15;
   color: #ffffff;
   text-align: center
}
#footer .block_various_links { list-style: none }
#footer .block_various_links li a { text-decoration: none }
#footer .block_various_links li {
   text-align: center;    
   display: inline;
   border-left: 1px solid #888;
   padding: 0 2px 0 4px
}
#footer .block_various_links li.first_item {
   border: none;
   padding-left: 0
}

Link to comment
Share on other sites

I sent you a PM with the site address. I did not want to put my site here on the forum since last time I did this I noticed in search engines they were directed to Prestashop forum rather than my site, which was a little annoying.

But you can put the comments on what I should change in the forum at least.

Basically all the links on the page are in default blue at the moment, but I want the footer link in white.

Link to comment
Share on other sites

Not so easy, otherwise it would have been done the first time I tried. This is the obvious choice and you would think it would work - and if you see my above thread I have tried these already. Like I said, the global style is controlling all these links and it makes no difference how or what I put in the footer links css, it doesn't change, it stays with the default. That's my problem.

Link to comment
Share on other sites

The problem is that there is a mistake in the footer code:

>
</pre>
<ul>
</ul>
<a href="http://www.mysite.com" title="" rel="external nofollow">Copyright 2010 © My Site</a><br



It is missing the opening

tag, which is causing problems with the CSS. Try changing it to:

>
</pre>
<ul>
Copyright 2010 © My Site
</ul>

Link to comment
Share on other sites

  • 9 months later...

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
×
×
  • Create New...