Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   Recent post widget don't work like pages widget (http://forum.bytesforall.com/showthread.php?t=6766)

maria.christensen Apr 17, 2010 03:36 PM

Recent post widget don't work like pages widget
 
Hi,
Thank you for a great forum. I am using Atahualpa 3.4.6
You can find my site at http://www.paktalos.com/wordpress

I have a problem with my recent post widget styling. Please help me!!
The recent post widget don't change clicking on it as the pages widget does.
I have tried everything.
I have updated the CSS insert with:

div.widget ul {
list-style-type: none !important;
}

div.widget ul li a:link,
div.widget ul li a:visited,
div.widget ul li a:active {
border-left: 0 !important;
padding-left: 15px !important;
background: url(http://www.paktalos.com/wordpress/wp...ullet-gray.gif) left no-repeat;
}
div.widget ul li a:hover {
border-left:0 !important;
padding-left:15px !important;
color: #4177bb !important;
background: url(http://www.paktalos.com/wordpress/wp...es/bullets.gif) left no-repeat;
}
.widget ul li.current-cat a:link,
.widget ul li.current-cat a.active,
.widget ul li.current-cat a:visited,
.widget ul li.current_page_item a:link,
.widget ul li.current_page_item a:active,
.widget ul li.current_page_item a:visited {
/* leave out the next line if you want to keep the default black font color on hover,
just showing you where you would change the hover font color */
color: #4177bb !important;
border-left: 0 !important;
padding-left: 13px !important;
background: url(http://www.paktalos.com/wordpress/wp...es/bullets.gif) left no-repeat;
}
/* Reset children of CURRENT */
.widget ul li.current_page_item ul li a:link,
.widget ul li.current_page_item ul li a:visited,
.widget ul li.current_page_item ul li a:active,
.widget ul li.current_page_item ul li a:hover {
color: #666666 !important;
border-left: 0 !important;
padding-left: 15px !important;
background: url(http://www.paktalos.com/wordpress/wp...ullet-gray.gif) left no-repeat;
}

juggledad Apr 17, 2010 06:42 PM

do you mean that when you click on, say the ABOUT page, when you get there, the word ABOUT is in blue but when you click on the 'Testing a news', when you get to that page, the words 'testing a news' is not in blue?

maria.christensen Apr 18, 2010 01:38 AM

Hi Juggledad.
Thank you for helping me.
What you described is exactly what is happening.
Can you help me so recent post also gets blue clicking on it?

Another strange thing is that when clicking on testing the news then some text is black and some has the gray color that I want(666666). Can I get the black text gray and where do I style it?

juggledad Apr 18, 2010 05:00 AM

as to having 'Testing a news' be highlighted, no there is no way unless you want to dig into the widget's code and add a 'class=...' type statement. Then you could build some CSS using that class in the selector.

The pages widget adds a class called 'current_page_item' to the active page and that is why you can set the color.

as for your second question - I don't see any BLACK, just shades of grey


All times are GMT -6. The time now is 02:25 PM.

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