• Resolved ABosCT

    (@abosct)


    Hi there

    Im trying to style the advert image so it is full width (within the section that it sits) so say 1100px wide. This worked fine until more than one image was loaded and it looked a bit odd on mobile.

    Is there an easier way to do this or alternatively switch the option to upload more than one image off? Is there a global style I can add so the images are all the same size?

    Then, one other thing, when an advert expires, what happens? Does the person who posts the ad get an email notification or does the advert just get deleted from the admin view?

    Hope that makes sense.

    Thanks

Viewing 1 replies (of 1 total)
  • Hi,
    you can always use @media screen param for your CSS to change width for mobiles:

    /*--------------------------------------------------------------
    2.1 - MAXIMUM width of 720 pixels (phones landscape)
    --------------------------------------------------------------*/
    @media screen and (max-width: 720px) {
    
    }/* don't delete this closing bracket */
    
    /*--------------------------------------------------------------
    2.2 - MAXIMUM width of 350 pixels (phones portrait)
    --------------------------------------------------------------*/
    @media screen and (max-width: 350px) {
    
    }/* don't delete this closing bracket */
    
    /*--------------------------------------------------------------
    2.3 - MINIMUM width of 721 pixels (tablets+)
    --------------------------------------------------------------*/
    @media screen and (min-width: 721px)  {
    
    }/* don't delete this closing bracket */
    
    /*--------------------------------------------------------------
    2.4 - MINIMUM width of 1040 pixels (desktops and laptops)
    --------------------------------------------------------------*/
    @media screen and (min-width: 1040px)  {
    
    }/* don't delete this closing bracket */
    
    /*--------------------------------------------------------------
    2.5 - MINIMUM width of 1540 pixels (desktops and laptops)
    --------------------------------------------------------------*/
    @media screen and (min-width: 1540px)  {
    
    }/* don't delete this closing bracket */

    Also, you can try to use this code:

    width: 100%;
    max-widths: 1100px;
    box-sizing: border-box;
Viewing 1 replies (of 1 total)

The topic ‘Image Size’ is closed to new replies.