Jump to content

shoshinmatcha

Member
  • Posts

    16
  • Joined

  • Last visited

Posts posted by shoshinmatcha

  1. On 5/31/2020 at 8:18 PM, tuanphan said:

    drink & eat images?

    Add to Home > Design > Custom CSS

    
    @media screen and (max-width:767px) {
    body#collection-5bfe7194cd8366f9106cc861 section.Intro .span-9 .row .col:not(:first-child) {
        width: 50% !important;
        float: left !important;
    }
    }

     

    yes those are the ones.

    It did the job but as I change the responsive side it does something weird:

     

    Also it seems like its not completely aligned if you look in the middle of the two images... they are perfectly aligned to either side but there is some weird space in between them that doesn align with the product images?

     

    As always any of your help is absolutely appreciated!!!

    screenshotweb.png

  2. 9 hours ago, tuanphan said:
    
    @media screen and (max-width:640px) {
    /* credit cards logo */
    div#block-yui_3_17_2_1_1555334200897_7528 .slide {
        float: left !important;
        width: 25% !important;
    }
    div#block-yui_3_17_2_1_1555334200897_7528 .slide img {
        width: 100% !important;
        height: auto !important;
    }
    div#block-yui_3_17_2_1_1555334200897_7528 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    }

    I guess this code looks better

    yes this works! amazing. 

    so can I slot in other div blocks in my site? as most of my pictures do this same thing and look too big on mobile. 

    would I just replace the block-yui number? 

  3. YOU'RE AMAZING! it works! 

    So I can try to do this stuff myself (teach a man to fish)... you are saying in your code when a screen size is 640PX or less change that photo to 50% of the size? 

    so if I wanted to use this for other pictures on my site is that possible? so if I wanted to change the credit card logos down the bottom of the site pages when it goes to mobile

     

    so using your code and trying to change it would it be something similar to this???

    @media (max-width:640px) { data-block-id="id="block-yui_3_17_2_1_1555334200897_7528" { 
       float: left; !important;
        width: 50% !important;
       }
    }

     

    I tried that and it doesn't work lol... but is it close? 

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.