Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-27-2012, 07:54 PM   PM User | #1
usxmarine
New to the CF scene

 
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
usxmarine is an unknown quantity at this point
Wrapper module fix

How can I trim the excess white space on each widget so that the widget title gray wrapper fits neatly into the wrapper container? I've attached an image and copied and pasted the code being used.

Code:
h4.widget-title {
text-indent: -9999em;
}

ul {
        list-style: url('images/INCS-bulletimage copy.jpg');
}

#text-2 {
        background: none;
}

#text-2 h4.widget-title {
        background: url("images/INCS-security copy.jpg") no-repeat;
}

#text-3 {
        background: none;
}

#text-3 h4.widget-title {
        background: url('images/INCS-software copy.jpg') no-repeat;
}

#text-4 {
        background: none;
}

#text-4 h4.widget-title {
        background: url('images/INCS-support copy.jpg') no-repeat;
}

#builder-module-503970c0b3f1c .widget {
        padding-top: 0;
background-color: white;

}

#builder-module-503970c0b3f1c .builder-module-sidebar h4.widget-title {
        height: 34px;
        margin-top: 0 !important;
background-color: white;
margin-right: -20em;
}
Attached Thumbnails
Click image for larger version

Name:	widgetwidths.jpg
Views:	29
Size:	22.1 KB
ID:	11486  
usxmarine is offline   Reply With Quote
Old 08-27-2012, 09:28 PM   PM User | #2
usxmarine
New to the CF scene

 
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
usxmarine is an unknown quantity at this point
ok i added some coding for padding as shown here:
Code:
#builder-module-503970c0b3f1c .widget {
        padding-top: 0;
padding-left: 5px;
padding-right: 9px;
background-color: white;
}
and that got me a bit closer to my goal but not finished. see attached for result of above code
Attached Thumbnails
Click image for larger version

Name:	widgetwidths.jpg
Views:	13
Size:	24.4 KB
ID:	11487  
usxmarine is offline   Reply With Quote
Old 08-28-2012, 05:27 PM   PM User | #3
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,382
Thanks: 18
Thanked 350 Times in 349 Posts
sunfighter is on a distinguished road
Without html code the css is meaningless. We need both. But if you made the area that contains all the TEST things the same width as your title images things would look better.
sunfighter is offline   Reply With Quote
Reply

Bookmarks

Tags
in progress, unresolved, widget, wordpress

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:22 PM.


Advertisement
Log in to turn off these ads.