Coding-Spot

You are not connected. Please login or register

 
 
 

How to change the background color of widget name?

Message (Page 1 of 1)

ashik4u
 
Advance Member

Posted on May 12th 2013, 11:55 pm

 
I want to change the background color of widget names. And also it will be great if there is a way to make the background color as like as the category name background color. Here are the screenshots.





View user profile http://www.bdtipsntricks.com/


weeknight
 
Senior Member

Posted on May 13th 2013, 12:20 am

 
maybe you can try this one :D

put in your css
Code:
        #right td.catHead {
        background-image: url(IMG_URL);
        }

:):



View user profile


ashik4u
 
Advance Member

Posted on May 13th 2013, 1:28 am

 
mostone wrote:maybe you can try this one :D

put in your css
Code:
        #right td.catHead {
        background-image: url(IMG_URL);
        }

:):

Sorry, this is not the exact answer



View user profile http://www.bdtipsntricks.com/


Mark
 
Administrator
Administrator

Posted on May 13th 2013, 4:36 am

 
Use this one: :):
Code:
.main .main-head {
background-image: url(imagelinkhere);
}



View user profile http://coding-spot.darkbb.com


ashik4u
 
Advance Member

Posted on May 14th 2013, 1:38 am

 
Ok, it's working. As I am using a black image so I need to change the text color on it.



View user profile http://www.bdtipsntricks.com/


Mark
 
Administrator
Administrator

Posted on May 14th 2013, 3:09 am

 
Use this one instead:
Code:
.main .main-head {
background-image: url(imagelinkhere);
color: white !important;
}

:D:



View user profile http://coding-spot.darkbb.com


ashik4u
 
Advance Member

Posted on May 14th 2013, 3:37 am

 
color is not changing, and the code which you gave is changing the both category and widget background color



View user profile http://www.bdtipsntricks.com/


Mark
 
Administrator
Administrator

Posted on May 14th 2013, 3:53 am

 
Then use this instead:
Code:
#content-container div#left .main .main-head, #content-container div#right .main .main-head {
background-image: url(imagelinkhere);
color: white !important;
}

It should work already.



View user profile http://coding-spot.darkbb.com


Mark
 
Administrator
Administrator

Posted on May 26th 2013, 2:37 pm

 
Since the problem is answered and appears to be solved i will locked this and move to archive section.
~Locked and Moved Happy



View user profile http://coding-spot.darkbb.com


#10

Sponsored content


 

Posted

 





Message (Page 1 of 1)

Permissions in this forum:
You cannot reply to topics in this forum

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests

Users browsing this forum: None