Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Justify text in mobile view? York template


Europeana

Question

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
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

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.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...