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?
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
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,
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
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,
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
Hello Ismael,
That works, thanks!
Best Regards,