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 » New Versions, & Updating » Old Version fixes and change logs »

BUGFIX 351/352-06: BFA Subscribe widget does use link colors in widget options


  #1  
Old Jul 12, 2010, 08:21 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
DESCRIPTION: if you add the 'BFA Subscribe' widget to a sidebar and use HTML to create a link, the link will pick up the color attributes (active, hover etc) from the 'Body, Text & Links' options instead from the 'Style WIDGETS' options.

CAUSE: This issue occurs because the 'BFA Subscribe' widget is in the form of a table while most other widgets are in the form of an unorder list and the widget styling only is set up to style an unordered list

REFERENCE: http://forum.bytesforall.com/showthread.php?t=8075

FIX: edit css.php and find line 645-652 (version 3.5.1/3.5.2) which will be
HTML Code:
div.widget ul li a:link, 
div.widget ul li a:visited, 
div.widget ul li a:active {
	text-decoration: none; 
	font-weight: normal; 
	color: #<?php echo $bfa_ata['widget_lists']['link-color']; ?>; 
	font-weight: <?php echo $bfa_ata['widget_lists']['link-weight']; ?>; 
	}
and change them to
HTML Code:
div.widget td a:link,
div.widget td a:visited,
div.widget td a:active,
div.widget ul li a:link, 
div.widget ul li a:visited, 
div.widget ul li a:active {
	text-decoration: none; 
	font-weight: normal; 
	color: #<?php echo $bfa_ata['widget_lists']['link-color']; ?>; 
	font-weight: <?php echo $bfa_ata['widget_lists']['link-weight']; ?>; 
	}
then find lines 669-671 which should be
HTML Code:
div.widget ul li a:hover {
	color: #<?php echo $bfa_ata['widget_lists']['link-hover-color']; ?>; 
	}
and change them to
HTML Code:
div.widget td a:hover,
div.widget ul li a:hover {
	color: #<?php echo $bfa_ata['widget_lists']['link-hover-color']; ?>; 
	}
or you can replace css.php with the attached file has the changes already applied to it.
css.php.zip
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jul 20, 2010 at 05:29 AM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
BUGFIX 351/352-05: Page Title Does Not Display Hyphens, Commas, etc. juggledad Old Version fixes and change logs 1 Aug 8, 2010 11:03 AM
BUGFIX 351/352-01: EXCERPTS - Show first X posts on HOME page as full posts juggledad Old Version fixes and change logs 1 Jul 13, 2010 05:42 AM
[SOLVED] Link color issue with BFA Subscribe widget WGTD Sidebars & Widgets 2 Jul 12, 2010 08:46 AM
BUGFIX 351/352-03: Comment Form Anchor Link gets a 404 (Not found) juggledad Old Version fixes and change logs 3 Jun 16, 2010 05:45 PM
BUGFIX 351/352-02: Header images not showing in sorted order juggledad Old Version fixes and change logs 2 Jun 15, 2010 04:28 AM


All times are GMT -6. The time now is 04:30 AM.


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