You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Remove Gradient From SIde Bar Top?

UserPost

7:48 am
July 13, 2009


bcdotcom

Member

posts 7

1

Does anybody know how I can get rid of the green gradient at the top of my right sidebar above my opt in form (my site…  http://www.bybcsolutions.com    )   I want it to all be the light green ( opt in form). BC

2:05 pm
July 13, 2009


Ryan

Admin

posts 1523

2

That's the background image for the H2 tags.  You can either search through the style.php file for the #sidebar-top h2 code and remove this line (line 839):

background: url(images/sidebar-h2-bg.png) no-repeat top left;

or you can simply add this to the bottom of style.php:

#sidebar-top h2 {background-image:none;}

2:46 pm
July 13, 2009


bcdotcom

Member

posts 7

3

Hey Ryan, I removed this line of code after much searching…   background: url(images/sidebar-h2-bg.png) no-repeat top left;    as you said and its still there? I also tried placing that other code at the very botom as you said and that did not work either? BC

12:35 pm
July 14, 2009


Ryan

Admin

posts 1523

4

I removed the line of code and it removed the background image fine.

7:57 pm
July 14, 2009


bcdotcom

Member

posts 7

5

Hmmm… Did you happen to look at my site so I know we are talking about the same thing? Its the darker green with the white text over it at the top of my sidebar just above the opt in fields. BC

6:18 pm
July 15, 2009


Ryan

Admin

posts 1523

6

Yes, I did.  I activated Flexibility 2 on my test blog and edited the style.php file as described above.  It caused the background image to disappear and leave a solid block of the specified background color.

Here's the code that controls the title of the top sidebar boxes:

sidebar-top h2 {
margin:0px;
padding: 8px 8px 8px 23px;
color: #<?php echo $flex_sidebar_title; ?>;
font-family: <?php echo $flex_sidebar_topfont; ?>, Arial, Helvetica;
font-size: <?php echo $flex_sidebar_tfontsize; ?>px;
background: url(images/sidebar-h2-bg.png) no-repeat top left;
background-color: #<?php echo $flex_sidebar_titlebackground; ?>;
border-bottom: solid 1px #<?php echo $flex_sidebar_boxborder; ?>;
text-transform: <?php echo $flex_sidebar_case; ?>;
letter-spacing: <?php echo $flex_sidebar_tfontspace; ?>px;
}

I highlighted the line I removed to get the background image to go away.

6:44 pm
July 15, 2009


bcdotcom

Member

posts 7

7

OK Thanks for your help I will try it again! BC

6:59 pm
July 15, 2009


bcdotcom

Member

posts 7

8

Ya, I had done it right the first time, for some reason it is not removing the shading? Ive copy and pasted the code after I removed that line so you can see. This is in the style.php  Dosent make sense! That shading in that area is really bugging me! BC

#sidebar-top h2 {
    margin:0px;
    padding: 8px 8px 8px 23px;
    color: #<?php echo $flex_sidebar_title; ?>;
    font-family: <?php echo $flex_sidebar_topfont; ?>, Arial, Helvetica;
    font-size: <?php echo $flex_sidebar_tfontsize; ?>px;

    background-color: #<?php echo $flex_sidebar_titlebackground; ?>;
    border-bottom: solid 1px #<?php echo $flex_sidebar_boxborder; ?>;
    text-transform: <?php echo $flex_sidebar_case; ?>;
    letter-spacing: <?php echo $flex_sidebar_tfontspace; ?>px;

7:21 pm
July 15, 2009


Ryan

Admin

posts 1523

9

This might be the culprit.  You have some invalid code somewhere on you blog that's causing the footer to be whacked.  Run your URL through here: http://validator.w3.org/ and see if you can find the offending code.  Let's get that straightened out before we go crazy trying to figure out why the image won't go away.

7:58 pm
July 15, 2009


bcdotcom

Member

posts 7

10

Jeez… 75 errors! Where the hell do I begin?