Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #509674

    Hi there,

    I encountered a strange padding behaviour in Safari (mainly iOS/iPhone but also in the desktop version). If you take a look at

    http://www.der-prinz.de/angebot/

    either on iPhone or narrowed to iPhone screen width desktop version you can see that the second paragraph (which is 1/2 column in fact) has a big padding left and right (see attached screenshot 1 for reference). The same effect can be seen further down that page at the icon list.

    You can see the same effect also on this page:

    http://www.der-prinz.de/kontakt/

    After the fullwidth Newsletter button. The contactform headline is “moved” to the right (see also screenshot 2)

    I have no idea why that is. Any ideas?

    Screenshot 1: https://dl.dropbox.com/s/9acqd3pvl7wp5s1/index.html?dl=0
    Screenshot 2: https://dl.dropbox.com/s/qkssa3tia1xm4tl/index.html?dl=0

    Thanks
    Michael

    #509809

    Hi Michael,

    I found this in your CSS:

    @media screen and (max-width: 1026px) {
    .avia-builder-el-7, .avia-builder-el-15, .avia-builder-el-24 {
        padding: 60px!important;
    }
    }

    Not sure if you are using it but try to add the page id class before those classes to be sure it’s only affecting the page you actually want it on.

    Thanks,
    Rikard

    #509835

    Hey Rikard,

    OMG that was so simple. I page builder element numbers are only used once but they seem to be used only once on one page so they can exist more than once on the entire site obviously. I simply added a .home to my css declarations (which I need only on the homepage) and not everything is fine.

    So it would be good if one could add an ID or class to really each element to trigger it via CSS. I know there used to be some option to activate that in the functions.php but I forgot how ;-)

    Thanks for your help
    Michael

    #509960
    #510012

    Thanks Yigit.

    #510015

    Hi!

    You are welcome Michael. Always happy to help :)

    Regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.