Changing height of products in category view

  • Darko101
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 6 months ago #39739 by Darko101

Please Log in to join the conversation.

More
10 years 6 months ago #39745 by ivan.milic
In template_css.css:

find .normal_image{.. and change it to this:

.normal_image {
width: 49%;
float: right;
max-height: 280px;
overflow: hidden;
margin-top: 10px;
text-align: right;
position: relative;
top: -200px;
}

Please Log in to join the conversation.

  • Darko101
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 6 months ago #39752 by Darko101
Dear Ivan,

That did it. Thanks voor taking a look.

Kind regards,
Darko

Please Log in to join the conversation.

  • Darko101
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 6 months ago #39771 by Darko101
I m sorry but I messed up my replies to your calls. They seemed to link to the wrong cal. Quite confusing. Anway, this problem (caused by myself) was solved by Ivan. Thank you very much.
Message :
In template_css.css:

find .normal_image{.. and change it to this:

.normal_image {
width: 49%;
float: right;
max-height: 280px;
overflow: hidden;
margin-top: 10px;
text-align: right;
position: relative;
top: -200px;
}

But, for some reason now the text in mobile view is too narrow and the image jumps out above the article postion. See attached screen shot. Might I comment that the text in mobile view in your original template is also quite narrow. Would it be an idea to place the product image above or below the text of the product description or order button? How would one do that?
Attachments:

Please Log in to join the conversation.

More
10 years 6 months ago #39773 by ivan.milic
Add this to bottom of In template_css.css:

@media screen and (max-width: 979px){
.normal_image{
top:-100px;
}
}

@media screen and (max-width: 675px){
DIV.product_details_box > *{
width:100%!important;
}
}

Please Log in to join the conversation.

  • Darko101
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 6 months ago #39834 by Darko101
No change.
See attached screen shot in standard Android Browser.
Chrome for Android does the same.
Attachments:

Please Log in to join the conversation.

Time to create page: 0.145 seconds
Powered by Kunena Forum