• I’ve changed the shapes of my featured areas from round to square.
    In the screen views, it all looks fine for netbooks and desktops but somehow when viewing on tablets and smartphones, the images are no longer centered but appear in the top right hand corner of the boxes.

    Anybody know why this happens and how to fix it?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter gscohier

    (@gscohier)

    Anyone? ??

    Thread Starter gscohier

    (@gscohier)

    https://www.social-be.be

    It’s not an issue with the picture sizes, the issue is the position they take when the theme is displayed on tablets , mobiles and so on…

    Thread Starter gscohier

    (@gscohier)

    Bump…
    See if anyone can help…

    This might help. You need to use @media code and adjust padding on different viewports.
    https://www.ads-software.com/support/topic/media-queries-are-overriding-the-native-css

    Anybody know why this happens and how to fix it?

    Why this happens: yes a combination of wrong margins set on the small phone viewport and incorrect margins set on the images.

    How to fix it: not yet, but if/when I do, I’ll let Nikeo know—if he hasn’t got there first ??

    Thread Starter gscohier

    (@gscohier)

    Thanks for the link @rdellconsulting. I’m a newbie and I couldn’t understand a word of what I’ve just read in that thread… :-S

    I take it it’s not because I’ve done something wrong or is it?

    Thread Starter gscohier

    (@gscohier)

    I’m really scratching my head over this…
    I’ve found a site who has also done the same but on that site, the images are ok when the screen sizes change.

    I’ve copied the codes for the @media screen bits shown on their CSS and added them to mine but it’s not made a bit of difference.

    Thread Starter gscohier

    (@gscohier)

    I’ve added the following to my css and it has sorted the issue on my Android but a screenshot from an iphone shows the issue remains on them…
    Could anyone with a bit of knowledge check where I’ve gone wrong?

    /* Responsive 4860-6953 and 8219-8502 */
    @media screen and (max-width: 320px) {

    }

    @media screen and (min-width: 321px) and (max-width: 480px) {

    }

    @media screen and (max-width: 480px) {
    .round-div {
    left: -44px;
    top: -44px;
    }
    .widget-front.hover .round-div, article.hover .round-div, .widget-front.focus .round-div, article.focus .round-div, .widget-front.active .round-div, article.active .round-div {
    transform: scale(2.6);
    -webkit-transform: scale(2.6);
    }
    .thumb-wrapper img {
    right: 0;
    max-width: 250px;
    }
    }

    @media screen and (min-width: 481px) and (max-width: 767px) {
    .round-div {
    left: -44px;
    top: -44px;
    }
    .widget-front.hover .round-div, article.hover .round-div {
    transform: scale(2.6);
    -webkit-transform: scale(2.6);
    }
    .thumb-wrapper img {
    right: 0;
    max-width: 250px;
    }
    }

    @media screen and (min-width: 768px) and (max-width: 979px) {
    .round-div {
    left: -56px;
    top: -56px;
    }
    .widget-front.hover .round-div, article.hover .round-div, .widget-front.focus .round-div, article.focus .round-div {
    transform: scale(2.5);
    -webkit-transform: scale(2.5);
    }
    .thumb-wrapper img {
    right: 0;
    }
    }

    @media screen and (max-width: 980px) {

    }

    @media screen and (min-width: 981px) and (max-width: 1024px) {

    }

    @media screen and (min-width: 1025px) and (max-width: 1169px) {

    }

    @media screen and (min-width: 1071px) and (max-width: 1200px) {

    }

    @media screen and (min-width: 1201px) and (max-width: 1366px) {

    }

    More info here, with a promise from Nikeo for the next release ??

    Thread Starter gscohier

    (@gscohier)

    I’ve sorted it for iPhone, I think.
    Preview looks ok anyway. The only one which look a bit odd are iPad mini where the bottom borders are somehow much wider than the others…

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Featured Pages Areas’ is closed to new replies.