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 »

How to override CSS in widget "Text" ??


  #1  
Old Mar 1, 2009, 02:29 PM
joe hark
 
168 posts · Feb 2009
I'm old-fashioned. I think that a list of links should be normal weight, blue, underlined. So I created some in HTML code and pasted that into a Widget "Text" on the sidebar. But it displays as the theme's default color, bold, no underlining.

Is there some way I can force these links to display the way I've coded them?
  #2  
Old Mar 1, 2009, 04:40 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You can access, through HTML/CSS Inserts -> CSS Inserts:

all text widgets

HTML Code:
div.widget_text a:link,
div.widget_text a:active,
div.widget_text a:visited,
div.widget_text a:hover {
color: #123456;
font-weight: normal;
text-decoration: underline;
}
a specific text widget:

HTML Code:
div#text-368010091 a:link,
div#text-368010091 a:active,
div#text-368010091 a:visited,
div#text-368010091 a:hover {
color: #123456;
font-weight: normal;
text-decoration: underline;
}
The ID text-368010091 is different for each text widget, and yours will most likely have another number. You'd have to look this up in the source code of the browser-rendered page, or with Firebug.

For all links inside list items inside widgets:
See Atahualpa Theme Options -> Widgets

For all links in the sidebars:

HTML Code:
td#left a:link,
td#left a:visited,
td#left a:active,
td#left a:hover,
td#right a:link,
td#right a:visited,
td#right a:active,
td#right a:hover {
color: #123456 !important;
 font-weight: normal !important;
 text-decoration: underline !important;
 }
I've added !important here as otherwise it might not be able to overwrite all widgets
  #3  
Old Mar 1, 2009, 11:43 PM
joe hark
 
168 posts · Feb 2009
thank you for the info. very helpful.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Widget "Text" is not show up sightsofsiam Sidebars & Widgets 5 Jul 13, 2009 05:39 AM
How to style "post icon" and "post comments" text Whatsthatcat? RSS, Feeds & Subscribing 3 Apr 1, 2009 10:41 AM
Having trouble with the "now reading" plugin displaying pictures... widget CSS jmesax Sidebars & Widgets 3 Mar 29, 2009 12:44 AM
Problems with text "Justify". Layout of Pages too long. Tigger Atahualpa 3 Wordpress theme 2 Mar 28, 2009 06:41 PM
CSS file went to "0" bytes suddently Ponics Atahualpa 3 Wordpress theme 1 Jan 5, 2009 02:49 PM


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


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