Changing a container max width

4 Commentaires

  • Pulkit Pandey
    Community Moderator

    Hi Milo Mayyalou

    The Container width which you are referencing is common to all the pages of the help center, if you want the article content to stretch a little bit, Please add the below CSS at the bottom of your style.css file 

     
    @media (min-width: 1024px) {
      .article {
        max-width: 100%;
      }
    }

    Please, let me know if it solves your issue 

    Thank You 

    Pulkit

    Team Diziana

    0
  • Milo Mayyalou

    It worked! Thank you!

    How do I adjust the minimum width of the site itself and make it take up the full space (viewport width) of the screen on both sides, regardless of the user's screen size (1024px or larger), Where do I set the min-width: 100vw; in the CSS file for the website body itself?

    0
  • Pulkit Pandey
    Community Moderator

    Hi Milo Mayyalou

    Please, replace the below CSS with the one shared earlier and place it at the bottom of your style.css file


    @media (min-width: 1024px) {
      .article {
        max-width: 100%;
      }
      
      .container,
      .header,
      .footer-inner{
      max-width:100vw;
      }
    }

    Let me know if it solves your issue 

     

    Thank You 

    Pulkit

    Team Diziana

    1
  • Milo Mayyalou

    Worked perfectly. Thank you!

    1

Vous devez vous connecter pour laisser un commentaire.

Réalisé par Zendesk