Jump to content

Issues with Mobile & Tablet layout!


MrWade

Recommended Posts

Ok, I do have an issue. I am using the classic core theme/template v8.1.7 here is my issue.

When I modify couple of files from this forum thread:

When I add those 2 files desktop version is fine when I remove the product description tab. Now, when you look at it on mobile and iPad/Tablet everything is small on product page.

Here is my website of a product page https://www.galaxyhomedecor.us/patio-lawn-garden/garden-decor/185-black-bear-solar-statue

How can I fix this?

Thanks
Wade

Link to comment
Share on other sites

1 hour ago, Ewonta said:

You need to change the product template:

themes/classic/templates/catalog/product.tpl

class from col-md-6 to col-md-12 col-lg-6

Screenshot_11.jpg

Tablet/iPad images and text are still to small to read.

IMG_0410.PNG

Link to comment
Share on other sites

Add CSS style

themes/classic/assets/css/custom.css
@media only screen and (max-width: 1024px) {
    .product-information .product-description p {
        font-size: 2rem;
    }

    #product #content {
        max-width: 100%;
    }
}

Screenshot_12.jpg

Link to comment
Share on other sites

5 minutes ago, Ewonta said:

Add CSS style

themes/classic/assets/css/custom.css
@media only screen and (max-width: 1024px) {
    .product-information .product-description p {
        font-size: 2rem;
    }

    #product #content {
        max-width: 100%;
    }
}

Screenshot_12.jpg

Still got a problem. The whole thing is to small. Like the footer is to small. Add to cart button is to small and the menu isn't friendly I want that to be a drop down with the hamburger effect.

Link to comment
Share on other sites

1 minute ago, Ewonta said:

Can you use the arrows in the screenshot to show what exactly is small?

I said the whole website is still small on the iPad/Tablet version. I have uploaded 3 different images. If. you look on the iPad/Tablet itself you can everything is small like the add to button footer and all the product description/details.

IMG_0413.PNG

IMG_0414.PNG

IMG_0412.PNG

Link to comment
Share on other sites

On 2/17/2025 at 9:17 AM, Ewonta said:
@media only screen and (max-width: 1024px) {
    .product-information .product-description p {
        font-size: 2rem;
    }

    #product #content {
        max-width: 100%;
    }
}

You need to enlarge all the elements according to the principle described earlier

Link to comment
Share on other sites

I am u

7 minutes ago, Ewonta said:

Your changes have applied (screenshot), you need to reset the cache in the admin panel and press ctrl + f5 in the browser, thereby resetting the browser cache.

Screenshot_4.jpg

I am looking at in on the iPad itself. Not on a computer browser. Plus, look it on a tablet/ipad itself.

Link to comment
Share on other sites

  • 2 months later...

Like this 🙂

 

@media only screen and (max-width: 767px) {
  #index .js-product.product {
    padding: 0;
  }
  
  #index .js-product.product .product-miniature {
    width: 100%;
  }
  
  #custom-text img {
    width: 100%;
  }
  
  #custom-text {
    padding: 0 !important;
  }
}

 

Screenshot_4.jpg

Screenshot_3.jpg

Link to comment
Share on other sites

4 hours ago, Ewonta said:

Like this 🙂

 

@media only screen and (max-width: 767px) {
  #index .js-product.product {
    padding: 0;
  }
  
  #index .js-product.product .product-miniature {
    width: 100%;
  }
  
  #custom-text img {
    width: 100%;
  }
  
  #custom-text {
    padding: 0 !important;
  }
}

 

Screenshot_4.jpg

Screenshot_3.jpg

Ok, the new product module images and text is still to small on the mobile.

Link to comment
Share on other sites

5 minutes ago, Ewonta said:
@media only screen and (max-width: 767px) {
    #index .js-product.product .product-miniature .thumbnail-container {
        width: 100%;
    }
}

 

Well, that widen the container not the image and text is still to small.

Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

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

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...