Europeana Posted March 27, 2020 Share Posted March 27, 2020 Site URL: http://www.dominikblasko.com Hi, I use York template. my website is http://www.dominikblasko.com My main Q: is there code to justify text in my blog posts for MOBILE view? I found somewhere this code body p, .sqs-layout .sqs-block.html-block p, .sqs-layout .sqs-block.markdown-block p { text-align: justify; } I put it in my Custom CSS and it does 2 things. 1. it justifies the text in my ABOUT section [text is part of image block card] for all web browsers, also mobile view. 2. in the blog (on my website blog is called ARTICLES), it justifies the text in the text block [text format = normal], but only in chrome browser and only in desktop view, in mobile view not even in chrome. This is better than nothing, but what I am after is having my blog text justified in mobile view at least in the chrome browser. Is there any code for that? I would appreciate any help. Link to comment
tuanphan Posted March 27, 2020 Share Posted March 27, 2020 Add to Home > design > Custom CSS @media screen and (max-width:640px) { .collection-type-blog.view-item { p, .sqs-layout .sqs-block.html-block p, .sqs-layout .sqs-block.markdown-block p { text-align: justify; } } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.