Jump to content


Photo
- - - - -

Height/Width customization for BOXES and other Sections

section boxes customization meta

  • Please log in to reply
3 replies to this topic

#1 paul_saccone

paul_saccone

    Member

  • Members
  • 15 posts
  • LocationSan Francisco
  • Framework Version:2.3.8 (on dev version of site, not live yet)
  • Country: Country Flag

Posted 03 April 2013 - 02:33 PM

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.



#2 James B

James B

    Advocate

  • Moderators
  • 4979 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 04 April 2013 - 01:29 AM

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



#3 paul_saccone

paul_saccone

    Member

  • Members
  • 15 posts
  • LocationSan Francisco
  • Framework Version:2.3.8 (on dev version of site, not live yet)
  • Country: Country Flag

Posted 19 April 2013 - 03:20 AM

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

#4 James B

James B

    Advocate

  • Moderators
  • 4979 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 19 April 2013 - 03:57 AM

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 ;
}






Also tagged with one or more of these keywords: section, boxes, customization, meta