Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1032128

    Hi there,

    I noticed that when the screen gets bigger than 1366px the text on my page moves up.
    I thought I could just add a whitespace, give it a unique ID and then in the CSS make it visible ONLY above 1366px screensize.

    But then I found noticed that whitespaces can’t be assigned a custom ID.

    Could you provide me with the CSS code to make the whitespace visible only after 1366px in width?

    Big thanks in advance. I have put screenshots in the private content field.

    #1032446

    Hey elsadenmark,

    Please try the following in Quick CSS under Enfold->General Styling:

    @media only screen and (min-width: 1365px) {
    .home #av_section_1 h4 {
      padding-top:100px;
    }
    }

    You might have to adjust the value a bit as I’m only on a 13″ screen at the moment.

    Best regards,
    Rikard

    #1032605

    Worked perfectly. Man the work you guys do. Amazing.

    If i only wanted to show the whitespace on a certain screensize – lets say between 1366px and 1920px –
    would it right to assume that the code should look like this?

    @media only screen and (min-width: 1366px) and (max-width: 1920px){
    .home #av_section_1 h4 {
      padding-top:100px;
    }
    }

    Best regards

    #1032626

    Hey elsadenmark,

    Yes that is correct. Just set the res you want the code to run on.

    Best regards,
    Jordan Shannon

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