StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 10-10-2012, 07:05 PM
mindschmootz mindschmootz is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Nov 2009
Posts: 65
Default Padding around custom text widget area

I've been trying to figure out how to add padding to the custom widget that I registered on the home page but I think I am overlooking something obvious. I added this to my css but it doesn't seem to care:

.custom-slider{
padding: 0 0 30px;
width: 100%;
}

Any help is appreciated.

http://mindschmootz.net/development/
  #2  
Old 10-10-2012, 07:43 PM
SoZo's Avatar
SoZo SoZo is offline
Community Moderator
 
Join Date: Oct 2008
Location: Minneapolis, Minnesota
Posts: 47,500
Default

There is not a div on your home page with a class of "custom-slider" assigned to it.
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography

New to Genesis? Check out Genesis Explained.
"We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy

"Some days even my lucky rocket ship underpants don't help" - Calvin
StudioPress on Facebook
  #3  
Old 10-10-2012, 08:51 PM
mindschmootz mindschmootz is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Nov 2009
Posts: 65
Default

Can you give me an easy example of how to do that?
  #4  
Old 10-10-2012, 08:54 PM
SoZo's Avatar
SoZo SoZo is offline
Community Moderator
 
Join Date: Oct 2008
Location: Minneapolis, Minnesota
Posts: 47,500
Default

How to do what?
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography

New to Genesis? Check out Genesis Explained.
"We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy

"Some days even my lucky rocket ship underpants don't help" - Calvin
StudioPress on Facebook
  #5  
Old 10-10-2012, 08:58 PM
mindschmootz mindschmootz is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Nov 2009
Posts: 65
Default

How to add a div on my home page with a class of "custom-slider" assigned to it
  #6  
Old 10-10-2012, 09:01 PM
SoZo's Avatar
SoZo SoZo is offline
Community Moderator
 
Join Date: Oct 2008
Location: Minneapolis, Minnesota
Posts: 47,500
Default

You don't need another div. You need to use the class name that you assigned to the div you already added "custom-slider-widget-area"
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography

New to Genesis? Check out Genesis Explained.
"We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy

"Some days even my lucky rocket ship underpants don't help" - Calvin
StudioPress on Facebook
  #7  
Old 10-10-2012, 09:23 PM
SoZo's Avatar
SoZo SoZo is offline
Community Moderator
 
Join Date: Oct 2008
Location: Minneapolis, Minnesota
Posts: 47,500
Default

You've added it within the 300px responsive rule. I find it's less confusing for people if they just add all new rules above the responsive section and make sure to close the 300px responsive rule:

Code:
@media only screen and (max-width: 300px) {

	.home-featured-1,
	.home-featured-2,
	.home-featured-3,
	.home-featured-4 {
		padding: 0 0 30px;
		width: 100%;
	}
	}
And you're adding padding to the top now instead of the bottom like in your original rule.
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography

New to Genesis? Check out Genesis Explained.
"We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy

"Some days even my lucky rocket ship underpants don't help" - Calvin
StudioPress on Facebook
  #8  
Old 10-10-2012, 09:27 PM
mindschmootz mindschmootz is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Nov 2009
Posts: 65
Default

Wow, now I feel silly that it was that simple. Thank you.

And yes I changed my mind about wanting it on top.
  #9  
Old 10-10-2012, 09:34 PM
SoZo's Avatar
SoZo SoZo is offline
Community Moderator
 
Join Date: Oct 2008
Location: Minneapolis, Minnesota
Posts: 47,500
Default

You're welcome
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography

New to Genesis? Check out Genesis Explained.
"We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy

"Some days even my lucky rocket ship underpants don't help" - Calvin
StudioPress on Facebook
 

Thread Tools
Display Modes

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 -5. The time now is 01:45 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.