Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Old Version fixes and change logs (http://forum.bytesforall.com/forumdisplay.php?f=37)
-   -   BUGFIX 351/352-06: BFA Subscribe widget does use link colors in widget options (http://forum.bytesforall.com/showthread.php?t=8090)

juggledad Jul 12, 2010 08:21 AM

BUGFIX 351/352-06: BFA Subscribe widget does use link colors in widget options
 
1 Attachment(s)
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.
Attachment 607


All times are GMT -6. The time now is 04:57 PM.

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