Jump to content
Sign in to follow this  
ecee

Padding inside of element?

Recommended Posts

ecee

Hi, I know that this is totally off what you should do, but you all seem very experienced here, so I can always ask. When I made a background container for my hentry-pad with padding, the elements within got respectively smaller. But then I have used column shortcode (as I can't get it to work good with any boxes, or other solutions). And now when I try to style "four_col" then one of the boxes/columns move down. And that seems natural as I'm adding padding on the outside of the column element, and they're made to be exactly "one-forth" each. But maybe there are a trick or anything to make both the padding and the column fit inside each one-forth..? Or else I may have to struggle some more with those boxes... :) Or just don't style them, that also works I guess. Thanks!

Share this post


Link to post
Share on other sites
catrina
To prevent the boxes/columns from moving down, you can decrease the width of them using CSS. The padding is being added on and there is no negative value allowed for padding (i.e. -5px, -10px, etc.) so you'll need to make the boxes/columns smaller.

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
ecee
So, it's not possible to use with such column shortcodes then (1/4 etc)? Because that will always make the total 100%, and then the extra padding will make it move down because it gets more than 100%? Thanks!

Share this post


Link to post
Share on other sites
Danny
Hi Ecce, Is this issue resolved ?

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
ecee
Hi Danny, Thanks for asking! Well, I have had problems with the Pagelines boxes, so I have just done my own boxes, and that's working more like I want it and I was able to customize it more. So right now it's no problem for me. It would be interesting though to know how I can use CSS, as Catrina mentioned, to make boxes don't go down when you are using columns shortcodes. I didn't quite understand that. Thanks!

Share this post


Link to post
Share on other sites
Danny
Hi Ecee, What is the shortcode you're using is it a plug-in ? If so would it be possible to reply and provide a link please, so I can take a closer look.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×