Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Own style for link in widget title


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Aug 10, 2009, 06:35 AM
timdevogel's Avatar
timdevogel
 
50 posts · May 2009
Flynn and or Juggledad,
Maybe (probably) this had been asked before and I've searched the forum but can't find the answer. In my sidebar I use the Catagory Posts widget and I want to make the title link to the posts in that categorie. There's an option in the widget to do that, but the problem is that then the titels' font changes to black bold, while I want it to remain just as it is. In the posts etc the layout for a link should remain bold black. So, what to do?
  #2  
Old Aug 11, 2009, 02:01 AM
Flynn's Avatar
Flynn
 
3,730 posts · Oct 2008
Munich, Germany
Look into the browser rendered source code for an ID or class of the widget and add a CSS Insert:

div.class-of-widget a:link,
div.class-of-widget a:active,
div.class-of-widget a:visited,
div.class-of-widget a:hover {
font-weight: normal;
}

or

div#id-of-widget a:link,
div#id-of-widget a:active,
div#id-of-widget a:visited,
div#id-of-widget a:hover {
font-weight: normal;
}
  #3  
Old Aug 11, 2009, 04:10 AM
timdevogel's Avatar
timdevogel
 
50 posts · May 2009
Sorry for my denseness, but where do I copy this code to? And can't I insert it in the widgets' code?

Last edited by timdevogel; Aug 11, 2009 at 06:50 AM.
  #4  
Old Aug 11, 2009, 06:46 AM
Flynn's Avatar
Flynn
 
3,730 posts · Oct 2008
Munich, Germany
Add this to HTML/CSS Inserts -> CSS Inserts

div.widget_categoryposts div.widget-title a:link,
div.widget_categoryposts div.widget-title a:active,
div.widget_categoryposts div.widget-title a:visited,
div.widget_categoryposts div.widget-title a:hover {
font-weight: normal;
....other styles...
}
  #5  
Old Aug 11, 2009, 06:53 AM
timdevogel's Avatar
timdevogel
 
50 posts · May 2009
Sorry Flynn,
But that isn't working. Please take a look at www.elektroretailmagazine.nl. In the 'middle' sidebar I made the title Marketing linkable, but it's hardly readable because it's black bold. I just want is to stay white, like the rest, on a blue background.
  #6  
Old Aug 11, 2009, 07:05 AM
Flynn's Avatar
Flynn
 
3,730 posts · Oct 2008
Munich, Germany
With ....other styles... I meant that you should put something else there if required, i.e. a color. And your other widget titles ARE bold, so if you wanted this title to look like the other ones:

div.widget_categoryposts div.widget-title a:link,
div.widget_categoryposts div.widget-title a:active,
div.widget_categoryposts div.widget-title a:visited,
div.widget_categoryposts div.widget-title a:hover {
color: #ffffff;
}

To make this particular widget title not bold, use this instead:

div.widget_categoryposts div.widget-title a:link,
div.widget_categoryposts div.widget-title a:active,
div.widget_categoryposts div.widget-title a:visited,
div.widget_categoryposts div.widget-title a:hover {
font-weight: normal;
color: #ffffff;
}
  #7  
Old Aug 11, 2009, 07:17 AM
timdevogel's Avatar
timdevogel
 
50 posts · May 2009
Just goes to show how little I know about this kind of stuff... Thanks a million Flynn!
  #8  
Old Jan 4, 2010, 02:35 AM
timdevogel's Avatar
timdevogel
 
50 posts · May 2009
Just upgraded to a new version of Category Posts and now the styling of the headers has disappeared. I tried to solve it, but just can't seem to find the right thing to do. Could you take a look? Once again, the site is: www.elektroretailmagazine.nl.

Last edited by timdevogel; Jan 4, 2010 at 07:23 AM.
  #9  
Old Jan 4, 2010, 08:07 AM
juggledad's Avatar
juggledad
 
20,147 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
If you are looking for the ttiles ( like Bedrijfsnieuws) to be links, they are not being generated that way. Check the options in the plugin to see if there is an option you need to turn on to have the category title become a link.
  #10  
Old Jan 5, 2010, 02:10 AM
timdevogel's Avatar
timdevogel
 
50 posts · May 2009
Hi JD,
Sorry, but if I do that the titles become bold black and I want htem to stay just as they are....
  #11  
Old Jan 5, 2010, 04:12 AM
juggledad's Avatar
juggledad
 
20,147 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
See the PM I sent you

Bookmarks

Tags
widget title link

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Style widget search box ggitchell Sidebars & Widgets 8 Dec 4, 2009 12:19 AM
Change Widget title type size/style rickinesc Atahualpa 3 Wordpress theme 3 Jul 24, 2009 01:57 PM
Change Post title type size/style rickinesc Atahualpa 3 Wordpress theme 1 Jul 14, 2009 02:14 PM
Widget style causing ugly display of widget list, breaks at special characters wfzimmerman Sidebars & Widgets 1 Mar 20, 2009 03:31 PM
[SOLVED] Atahualpa 2.2: Post title overlapping with Meta links, novice style aprilp Other BFA WordPress Themes 1 Mar 19, 2009 05:48 PM


All times are GMT -6. The time now is 01:43 AM.


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