Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Own style for link in widget title


  #1  
Old Aug 10, 2009, 06:35 AM
timdevogel's Avatar
timdevogel
 
141 posts · May 2009
Own style for link in widget title

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,768 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
 
141 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,768 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
 
141 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,768 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;
}

Bookmarks

Tags
widget title link



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


All times are GMT -6. The time now is 11:47 AM.


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