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

    Hi
    On my website I have a color section on each page with a background image in it. On the website it looks as it should but it takes up way too much space on tablet and phone. Is there anyway I can add css to limit the height only for tablet and phone.

    Link: sikkertbilsalg.dk

    Thanks :)

    #897347

    Hey sikkertbilsalg,

    Do you mean the first section on the page? If so, it looks alright on my end. I think the easiest way for you to have a different layout on mobile would be to duplicate the element and then select to hide it on all screens except mobile.

    Best regards,
    Rikard

    #897735

    Hi,
    Thanks for the reply. That might be a good solution. I just tought there would be a quick CSS solution to it.

    Similar to this one just with the height:
    @media only screen and (max-width: 989px) {
    .Only_pc { display: none !important; }}

    Thanks :)

    #897920

    Hi,

    Yes there is, but why do you need CSS when you have that available for you in the element options?

    Best regards,
    Rikard

    #898114

    I thought maybe a lot of stuff would slow down the page but I’ll do it that way :)

    #898898

    Hi,

    I don’t think that should affect your page speed at all to be honest, but you could do a test if you create two test pages and run it though this tool: tools.pingdom.com

    Best regards,
    Rikard

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