How do I change the width of our Help Center articles?

Respondida

6 Comentarios

  • Trapta
    Acciones de comentarios Permalink

    Hi @Stephen B,

    Yes, That's' right.

    If you are using Copenhagen theme, simply update the width of article content area and move the related articles section below the article content.

    Thanks

    Team Diziana

    0
  • Heather Rommel
    Acciones de comentarios Permalink

    @Trapta how do you do that?

    0
  • Trapta
    Acciones de comentarios Permalink

    @Heather R ,

    By default, Copenhagen has only two blocks so it's a matter of increasing width in this case. For that, one has to replace the CSS with the code below -

    Go to line no. 1158 and replace the default code with:

    @media (min-width: 1024px) {
      .article {
        flex1 0 83%;
        max-width83%;
        min-width640px;
        padding0 0 0 30px;
      }
    }

    You will see the change in the width of article content area.

     

    Thanks

    Team Diziana

    6
  • Jennifer Rowe
    Acciones de comentarios Permalink

    Awesome! Thanks, Trapta.

    1
  • Edwin Dmello
    Acciones de comentarios Permalink

    That was very helpful thanks.

    However the line number now starts from 1172 and not 1158

    1172  @media (min-width: 1024px) {

     

    0
  • Jessie Schutz
    Acciones de comentarios Permalink

    Hey Edwin!

    Depending on whether you've already made customizations to the article page, the line number that corresponds to this element might be different from the one Trapta cited. Definitely something to watch out for!

    0

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk