Archived

This topic is now archived and is closed to further replies.

Height/Width customization for BOXES and other Sections


4 posts in this topic

Posted · Report post

I would like to request a new feature:  Add a setting for the height and width of Sections under the PageLines Meta Settings on individual pages.

 

For example, I've been trying to adjust the height of the "Boxes" Section on my homepage via CSS, but finding the correct selector has been difficult and time consuming.

 

This would be a huge help for this Section and many others.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks Paul, we've logged this suggestion with the core team for review.

Share this post


Link to post
Share on other sites

Posted · Report post

I've still been trying to do this and figured out that I can't override the height with CSS because a style=min-height is being added into the div tag for .blocks .box-media-pad somewhere. I can work around this of course, but it's damned messy and really inconvenient. I looked at the section's PHP but I and I think WP is adding it. Any ideas? egeqene7.jpg

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there

 

Those inline styles will be generated automatically from the size of the content/images in the boxes section and the box options set in the meta. Things like setting the width/height of the images will affect these settings too.

 

You can overrule the min-height command using

 
.blocks {
    min-height: 200px ;
}

Share this post


Link to post
Share on other sites