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 361-03: Allow Tag widget links to use Atahualpa widget link styling. (http://forum.bytesforall.com/showthread.php?t=12213)

juggledad Jan 13, 2011 10:56 AM

BUGFIX 361-03: Allow Tag widget links to use Atahualpa widget link styling.
 
1 Attachment(s)
While not actually a BUG, I've created a bugfix for this enhancement to allow it to be tracked.
The following change will allow the WordPress TAG widget to use the Atahualpa widget link styling. Edit css.php and change lines 646-675 from
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']; ?>;
        }

div.widget ul li ul li a:link,
div.widget ul li ul li a:visited,
div.widget ul li ul li a:active {
        color: #<?php echo $bfa_ata['widget_lists2']['link-color']; ?>;
        font-weight: <?php echo $bfa_ata['widget_lists2']['link-weight']; ?>;
        }

div.widget ul li ul li ul li a:link,
div.widget ul li ul li ul li a:visited,
div.widget ul li ul li ul li a:active {
        color: #<?php echo $bfa_ata['widget_lists3']['link-color']; ?>;
        font-weight: <?php echo $bfa_ata['widget_lists3']['link-weight']; ?>;
        }

       
div.widget ul li a:hover {
        color: #<?php echo $bfa_ata['widget_lists']['link-hover-color']; ?>;
        }

to
HTML Code:

div.widget a:link,
div.widget a:visited,
div.widget a:active,
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']; ?>;
        }

div.widget ul li ul li a:link,
div.widget ul li ul li a:visited,
div.widget ul li ul li a:active {
        color: #<?php echo $bfa_ata['widget_lists2']['link-color']; ?>;
        font-weight: <?php echo $bfa_ata['widget_lists2']['link-weight']; ?>;
        }

div.widget ul li ul li ul li a:link,
div.widget ul li ul li ul li a:visited,
div.widget ul li ul li ul li a:active {
        color: #<?php echo $bfa_ata['widget_lists3']['link-color']; ?>;
        font-weight: <?php echo $bfa_ata['widget_lists3']['link-weight']; ?>;
        }

       
div.widget a:hover,
div.widget ul li a:hover {
        color: #<?php echo $bfa_ata['widget_lists']['link-hover-color']; ?>;
        }

or you can use the attached file which has the changes already applied. Download the file, unzip it and upload it to your Atahualpa 3.6.1 theme folder.
Attachment 1036

NOTE: The css.php in BUGFIX 361-04: Allow Custom Menu widget links to use same styling as Pages widget. contains the fixes from this BUGFIX

singledudetravel Jan 14, 2011 04:37 AM

Thank you very much. Looks wonderful now!

ortixia Jan 14, 2011 12:58 PM

eek! please recheck your line numbers... until 765 is incorrect, i believe it is 675.

juggledad Jan 14, 2011 03:56 PM

oops, darn fumble fingers...thanks it has been corrected


All times are GMT -6. The time now is 10:23 PM.

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