Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

change text widget style

Posted on 2011-03-18
4
Medium Priority
?
636 Views
Last Modified: 2012-06-27
I have two widgets in my primary sidebar and I want to remove the styles on the bottom widget.  I noticed the sidebar widget in the stylesheet as:

#sidebar .widget, #sidebar-alt .widget {
 -moz-box-shadow: 0 0 5px #3F685C inset;
    background: none repeat scroll 0 0 #ccecf2;
    border: 1px solid #00b8de;
    margin: 0 0 15px;
    padding: 10px 15px 5px;
 }

the name of the bottom text widget is text-13.  In the css, what would I reference add to it to remove the background color, border, margin, padding and shadow on that specific text widget?

The site is http://saltlakecityappliancerepair.org/dev/home-2/
0
Comment
Question by:COwebmaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 40

Accepted Solution

by:
Gurvinder Pal Singh earned 2000 total points
ID: 35167767
add this after the above mentioned style (basically the ordering of styles matters)
#text-13 .widget{
 -moz-box-shadow: 0 0 5px #3F685C inset;
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
 }

please check the selector is written properly as per your HTML structure
0
 

Author Comment

by:COwebmaster
ID: 35167801
I added that in but the background is still showing up blue on that widget (the one right under the form)
0
 

Author Comment

by:COwebmaster
ID: 35168076
what do you mean by selector?
0
 

Author Comment

by:COwebmaster
ID: 35168114
got it to work, thx!  It's this:

#sidebar #text-13.widget {
 -moz-box-shadow: none;
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
 }
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question