-
AuthorPosts
-
May 20, 2017 at 4:58 pm #797048
Hello,
My homepage looks good on my laptop. But on my mobile phone it doesn’t look like I want to. The word ‘reviews’ is aligned left and I want it centered. I also want to center this text: ‘Maandag t/m zondag telefonisch bereikbaar van 09.00 tot 21.00 uur’.
How do I make these changes so that my homepage looks good on my mobile phone?
- This topic was modified 7 years, 6 months ago by HBJC.
May 21, 2017 at 6:51 pm #797241Hey HBJC,
Try this code in the General Styling > Quick CSS field:@media only screen and (max-width: 767px) { .av-subheading.av-subheading_above p, .av-subheading.av-subheading_below p { text-align: center!important; } }
Best regards,
MikeMay 22, 2017 at 3:03 pm #797671This solved my issue with the homepage. But it created a lot of other issues. All my subheadings are centered now. But I want the subheadings to be left aligned.
How can I center align the text ‘review’ and ‘maandag t/m zondag telefonisch bereikbaar van 09.00 tot 21.00 uur’ on my homepage, without (other) subheadings being left aligned?
May 22, 2017 at 3:09 pm #797677Hi,
Please enable the custom css class field: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ then edit your Special Heading elements on your homepage and give them a custom CSS class (“center-sub” in the example below) and then add following code to Quick CSS
@media only screen and (max-width: 767px) { .center-sub .av-subheading { text-align: center; }}
Best regards,
Yigit- This reply was modified 7 years, 6 months ago by Yigit.
May 22, 2017 at 4:01 pm #797724Thanks, but this didn’t work. So I decided to remove these two subheadings from my homepage.
May 22, 2017 at 4:03 pm #797728Hi!
If you do not mind creating a temporary admin login and posting it here privately, we can look into it. If you would like us to look into it, please add subheadings again :)
Regards,
YigitMay 22, 2017 at 4:05 pm #797729No, it’s ok. I’m happy how my homepage looks now. Thanks for your help. Much appreciated.
May 22, 2017 at 4:11 pm #797739Hi,
You are welcome! :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Best regards,
Yigit -
AuthorPosts
- The topic ‘Homepage mobile align text centre’ is closed to new replies.