1. Glen
  2. Sherlock Holmes
  3. Commercial Templates
  4. Friday, 18 September 2015
  5.  Subscribe via email
There seems to be a problem with the right hand panel on this page : http://zenonpark.com/index.php/en/administration/municipal-council at smaller screens - below 414px This page is a category blog (set up that way so I can have a right and left column) and the right hand side is too far to the right . Also the image is too large, not reducing properly for the screen size.

The page content is centered but I want it that way for larger screens. I need to have it float left it seems for smaller screens.

How do I set up a media-query for screen sizes 414 and below to have the content float left, and also to reduce the size of the image to fit for each of the screens 414 and smaller.

Thanks
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you. This fix worked perfectly.
Most appreciative.
G
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Glen

Adding the following to your Custom CSS field should ensure you image resizes correctly...


.blog .column-2 {
width: 100% !important;
}


To align your text to the left on screens smaller than 414px you can use the following Custom CSS...


@media only screen and ( max-width: 441px ) {
.blog .column-2 p {
text-align: left !important;
}}


The above will effect all paragraphs within a 2 column blog layout. To just effect the paragraphs in question you will need to add a unique class name to these paragraphs.

CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.