getPageWrapperClass

Permalink
Hi All

I have an issue with a single page Parallax site I am building.
I have a HTML theme that I have converted for 5.7, as it is a single page I am not using a header or footer element ( I am of course using <?php Loader::element('header_required') ?> and <?php Loader::element('footer_required') ?>).

I basically followed Andrews theme building vid and all went well until I added the <div class="<?= $c->getPageWrapperClass() ?>">and closing div.

What happens when I add this to my page type my main first image, a full screen bg image, seems to get about a third of it chopped off and the content below pulls up. When I remove it everything pings back into place and looks as it should.
I thought about not having the code at all but that has a knock on effect of not moving over my page left or right when in edit mode.

I really wanted to check if anyone had come across this before or knew of a fix.
Happy to share a link to the site if required, just let me know if you want it with or without the offending code.

The site is in very early dev so there is lots of html chopping still to do but I wanted to sort this issue out before I move on.

Any help or advice greatly appreciated.

madeforspace
 
madeforspace replied on at Permalink Reply
madeforspace
With the help of a friend the reason was found :)
All working now.
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi madeforspace,

Please include what steps were taken to solve your issue. This will assist others who search for a similar search term in the future.