How do I modify text widget not to take default sidebar css for background
-
Sorry if the post title is not clear. I am wondering if there is a way to over-ride the CSS which renders the text widget in my sidebar. Every single sidebar widget I currently activate such as categories calender etc.. take on the following CSS from my style.css for my theme
//Renders the top part of a sidebar widget
.sidemenu-head {
float:right;
background-image: url(‘images/sidemenu-head.gif’);
width:200px;
height:50px
}Renders the body of the sidebar widget
.sidemenu-content {
float:right;
background: url(‘images/sidemenu-content.gif’) repeat-y;
font: 12px Arial;
color: #737373;
width: 200px;
}Renders the bottom of the sidebar widget
.sidemen-foot {
float: right;
background-image: url(‘images/sidemen-foot.gif’);
width:200px;
height:15px;
margin-bottom: 10px
}I would like only the text widget not to take on the above CSS so that it will come out clear when I add an instances of it to the sidebar. Is this possible? In other words I am asking is there a way to override this to make it not take on the default CSS from my style.css file.
-
-
This would not be possible since at the current time it is hosted on an internal Url which is only accessible by Vpn access to my work network. However, here is a link to the theme which I have downloaded and modified for our needs http://themes.rock-kitty.net/demo/. In this theme, if you look at the right sidebar you see (categories, archives, links etc..).
My problem is that when I add the text widget, it takes on the same form (look) as the other widgets which are displayed in the sidebar, such as categories, archive link etc… Is it possible to add the text widget so that it shows up as clear by not taking on the css which all the other sidebar widgets are taking on? Currently it looks like all sidebar widgets I insert take on the css from style.css which contains the code I posted in my earlier post. I am hoping there is a way of overriding this for the text widget
Thanks,
mk -
wordpress.com blogs are free hosted by wordpress.com. They are the ONLY blogs we provide support for in this forum. That is why you were asked for the link to your blog.
-
Please read and then post to http://wordpress.ORG/support
https://en.forums.wordpress.com/topic/please-read-me-first-before-posting?replies=1 -
Thanks sorry about that. I was able to figure out a workaround. Anyhow, thanks for the attention :).
Thanks,
mk
- The topic ‘How do I modify text widget not to take default sidebar css for background’ is closed to new replies.