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
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;
}
  #7  
Old Aug 11, 2009, 07:17 AM
timdevogel's Avatar
timdevogel
 
141 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
 
141 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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Jan 5, 2010, 02:10 AM
timdevogel's Avatar
timdevogel
 
141 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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
See the PM I sent you
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

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


All times are GMT -6. The time now is 05:19 PM.


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