Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Styling Body Links (http://forum.bytesforall.com/showthread.php?t=20100)

peep_squeak Apr 11, 2013 03:26 AM

[SOLVED] Styling Body Links
 
Hi. Great theme, we've been using it for a while now and really like its usability.

I'm having an issue with a bit of styling I added to 'Add HTML/CSS inserts'

.post-bodycopy a:hover {
background-color: #000000;
}

it's working fine but it's adding a background to the ADDTHIS social buttons at the top. I can see that they are included in the body div but not sure how I can separate them?

Here's a post as an example
http://www.saltpigcanteen.com/dont-d...-your-noodles/

On a different subject I wondered if there is a way of adding a footer with content/widgets?

juggledad Apr 11, 2013 04:15 AM

CSS is 'Cascading Style Sheets' - what you do to an element cascades to it's children so if you don't want that background on a child element you need to add more CSS to change it for the children.

Quote:

On a different subject I wondered if there is a way of adding a footer with content/widgets?
you can add a new widget area to the 'ato->Style & edit FOOTER->Footer: Content' option

peep_squeak Apr 11, 2013 05:31 AM

Thanks for the advice. I thought about it the other way round. Rather than adding more CSS I would just specify the element I wanted to alter. I added a 'p'

.post-bodycopy p a:hover {
background-color: #000000;
}

problem now is that the previous/next post links are turning white on hover.

Thanks for the footer info. Much appreciated.

peep_squeak Apr 11, 2013 05:35 AM

just added

.older a:hover {
background-color: #000000;
}

.newer a:hover {
background-color: #000000;
}

it seems to work! Must be getting better at css :)


All times are GMT -6. The time now is 11:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.