Advertainment block problem with display on ipad

Hello

I installed the template using the quick start. The advertainment block on the front page looks fine on a computer screen, but doesn’t display properly on an ipad.

Screenshot:
http://cfmsample1.co.uk/media/wysiwy…creenshot1.jpg

Can someone tell me how to rectify this please?

Many thanks

8 answers

Profile photo of Wayne Farnworth 290.00 $tone September 2, 2014
Public

Hello, thanks for the reply. I’m not sure how I want it to look, I will have a think and come back if that’s OK?

I see the demo is the same as my site on a tablet, but it just looks wrong to me. All the random empty space doesn’t look right.

Thanks again

#2
Profile photo of Wayne Farnworth 290.00 $tone September 3, 2014
Public

Hello again,

I have amended the css for the advertainment block and it now displays the same on computer and tablet screen.
I did this by changing pixel dimensions to percentages.

There is one small anomaly I can’t seem to get past though.

I have attached screenshots of how it now looks on an ipad and also my code amendments.

(Ignore the comments -- 33.33% is the figure I used)

There is a 1 pixel line around the right hand image on the ipad, not on the computer display.

I have played with tweaking the widths slightly but if I correct it on the ipad it goes wrong on the computer.

Can you see any way I could overcome this?

Ideally I would like it to fall nicely on both devices but as a last resort could I change the background underlying block to white? or remove it altogether?

Many thanks

Wayne

#3
Profile photo of Wayne Farnworth 290.00 $tone September 4, 2014
Public

Hello

I have arrowed it on the screenshot I attached.

It is present on both of my ipads

Also, just to clarify, the one pixel line is a one pixel gap, allowing the underlying orange block to show through.

#5
Profile photo of Seoki Lee 1510.00 $tone September 5, 2014
Public

To get the fix, you can edit file /skin/frontend/default/jm_summer/css/styles.css, at line 2611 replace this rule:

Code:

.list-advertainment ul {
    background: #f67252;
    margin: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

With:

Code:

.list-advertainment ul {
    background: none !important;
    margin: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

Hope this helps.

#6

This question is now closed

Written By

Comments