Home Forums ePix Support how to set .main-wrap and #content 100% height
-
AuthorPosts
-
November 10, 2014 at 8:23 am #57852
Hello,
your theme has a big issue for the content height value.
how to set .main-wrap and #content 100% height
If I not set 100% for these 2 CSS the footer is not shown at bottom but in the middle of the screen.
Thanks+S,
November 11, 2014 at 2:00 pm #57929Hi Simone,
The only way to achieve this is to set a minimum height for the pages. E.g.
.main-wrap {min-height:1000px;}
November 11, 2014 at 2:05 pm #57931I suppose that will be a problem to have a page with min-height:1000px for a smartphone.
I look forward to your reply.
Regards,
S.November 12, 2014 at 6:55 pm #58005It’s mostly likely going to be much more than a 1000px in mobile anyway due to the content being stacked.
If you’re concerned, you can add the following to Appearance > Theme Options > Customize > Mobile CSS:
.main-wrap {min-height:100% !important;}
November 16, 2014 at 8:11 am #58132it’s not enought -> please look at the result http://simonepasqualini.it/new-home/
I look forward to your reply.Regards,
S.November 17, 2014 at 2:47 pm #58172The above code
.main-wrap {min-height:100% !important;}
was in reply to your concern for the Mobile CSS only.Please refer to my original answer which was to set a height value for desktop, you can add that in Appearance > Theme Options > Customize > Custom CSS e.g.
.main-wrap {min-height:1000px;}
If this is not enough, you can increase the value too.
November 17, 2014 at 4:36 pm #58180it’a wrong.. please try for this page http://simonepasqualini.it/new-home/ to fix that CSS using firebug and look at the result.
Thanks
S.November 18, 2014 at 2:37 pm #58238If you mean the actual colored background needs to be the full height, you’ll need to apply the minimum height to that element instead.
You have a DIV in there with the class of
.contenuto-height
( this isn’t standard so I’m unsure as to what it is ).You would need to add the following CSS:
.contenuto-height {min-height:1000px;}
If you require any further customization, you’ll need to sign-up for the customization service.
-
AuthorPosts
You must be logged in to reply to this topic.