Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #693895

    Hello Jordan,

    The code you sent me:

    .av_textblock_section p {
    padding-left: 33.33%;
    }

    Worked but now the line”värsked blogipostitused” is also aligned slightly to the right, can I fix it somehow?

    #693901

    Hey pimroll!

    Please turn on custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then edit your text block element that you would like to apply the code above and give it a custom CSS class (“your-custom-class” in example below) and then change the code above to following one

    .your-custom-class p {
    padding-left: 33.33%;
    }
    

    Regards,
    Yigit

    #694058

    Hello Yigit,

    I managed to do it and not the lines I were talking about are correct but the text is not in the middle on the mobile view, it is very much aligned into right.

    Screenshot here: http://imgur.com/a/5dAoO

    Is there a way to have them aligned into middle in both the Desktop and mobile view?

    Best Regards,

    #694170

    Hi,

    I couldn’t see anything like you screenshot on the page you linked to, could you link to the page where we can see the actual element please?

    Regards,
    Rikard

    #694180

    Hello Rikard,

    I placed the links of three pages in the private.

    The question is, is it possible to align the text above the title to the left, so it would look nice on the mobile view as well.

    Best Regards,

    #694878

    Hi,

    Please look for this code in the Quick CSS field:

    .your-custom-class p {
        padding-left: 27%;
    }

    .. replace it with:

    @media only screen and (min-width: 989px) {
      /* Add your Mobile Styles here */
      .your-custom-class p {
        padding-left: 27%;
      }
    }

    It will only affect screens wider than 989px.

    Best regards,
    Ismael

    #695923

    Hello Ismael,

    That works, thanks!

    Best Regards,

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘#693331 I got what I wanted but now another line of text is missplaced’ is closed to new replies.