bad starting page on smartphone

More
10 years 7 months ago #36842 by ivan.milic
Code is not added?

Add all of rules:

@media screen and (max-width: 620px){
.cat-children > div {
width: 100%;
clear:both;
}

.cat-children > div IMG{
max-width:100%;
}

.items-row .item{
width: 100%;
clear:both;
}

.items-row .item IMG{
max-width:100%;
}
}

Please Log in to join the conversation.

  • caland
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 7 months ago #36843 by caland
now the code is updated

Please Log in to join the conversation.

More
10 years 7 months ago #36851 by ivan.milic
Try this code:

@media screen and (max-width: 620px){
.cat-children > div {
width: 100%;
clear:both;
}

.cat-children > div IMG{
max-width:100%;
}

.items-row .item{
width: 100%!important;
clear:both;
}

.items-row .item IMG{
max-width:100%;
}
}


@media (max-width: 979px) and (min-width: 768px){
.items-row > .span4 {
width:33%!important;
}
}

Please Log in to join the conversation.

  • caland
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 7 months ago - 10 years 7 months ago #36864 by caland
same problem.
would you like to have an ftp access to the template directory?
Last edit: 10 years 7 months ago by caland.

Please Log in to join the conversation.

More
10 years 7 months ago #36871 by ivan.milic
Found it, open layout.css, find this:

.cat-children div {
float: left;
text-align: center;
width: 33%;
}

change that to:

.cat-children > div {
float: left;
text-align: center;
width: 33%;
}

Please Log in to join the conversation.

  • caland
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 7 months ago - 10 years 7 months ago #36873 by caland
we are on the right way!

the pictures aren't even square on the smartphone but a little bit larger than before:
Attachments:
Last edit: 10 years 7 months ago by caland.

Please Log in to join the conversation.

Time to create page: 0.316 seconds
Powered by Kunena Forum