Skip to main content
Known Participant
October 12, 2017
Answered

Breaking points

  • October 12, 2017
  • 3 replies
  • 1381 views

Hi Adobe community,

I have an other question about the intro of the site EVISSI  On desktop/phone/tablet I made various versions, just images or a 'movie'. On tablet landscape none of them is visible (movie doesn't work and the images aren't yet visible, because it's to wide), so I would like to change the breaking points http://evissi.com/css/style-intro.css

Does someone have any idea where  I can change the breaking points?

(Of course I tried some things, but it didn't work, so I probably didn't do the right thing.)

This topic has been closed for replies.
Correct answer osgood_

Mobos  wrote

But .... the page is a bit long. Can that white-space be removed??

Add the 2 additional css selectors shown in red below:::

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

.container {

display: none;

}

.hide_desktop {

display: block;

}

.evissi_logo_wrapper {

text-align: center;

background-color: #5FA439;

}

.evissi_logo_wrapper img {

width: 70%;

height: auto;

}

.mobile_product_wrapper {

display: flex;

flex-wrap: wrap;

}

.mobile_product_wrapper a {

width: 50%;

}

.mobile_product_wrapper  {

background-color: yellow;

border-bottom: 4px solid pink;

}

.zoomlogo {

display: none;

}

.IntroIndexTaste {

display: none;

}

}

3 replies

MobosAuthor
Known Participant
October 13, 2017

OOOOOOOOOHHH, it workes!!  EVISSI :: The Plant Based Beverage Company

Instead of @media screen and (max-width: 1000px) } it put

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

(which you mentioned before Osgood)

And I removed the bottom bit of code @media screen and (max-width: 768 px)}

I thought that wouldn't be necessary, is it??

But .... the page is a bit long. Can that white-space be removed??

Can you see it now Nancy?

osgood_Correct answer
Legend
October 13, 2017

Mobos  wrote

But .... the page is a bit long. Can that white-space be removed??

Add the 2 additional css selectors shown in red below:::

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

.container {

display: none;

}

.hide_desktop {

display: block;

}

.evissi_logo_wrapper {

text-align: center;

background-color: #5FA439;

}

.evissi_logo_wrapper img {

width: 70%;

height: auto;

}

.mobile_product_wrapper {

display: flex;

flex-wrap: wrap;

}

.mobile_product_wrapper a {

width: 50%;

}

.mobile_product_wrapper  {

background-color: yellow;

border-bottom: 4px solid pink;

}

.zoomlogo {

display: none;

}

.IntroIndexTaste {

display: none;

}

}

MobosAuthor
Known Participant
October 13, 2017

I think it' o.k. now, thank you so much!!! evissi.com

This weekend I'll have a look at some other devices .....

Have a nice weekend!!

MobosAuthor
Known Participant
October 13, 2017

Hi everybody!

So, Osgood, I put it in the css on index02.html as well, but still nothing.

Where do I put

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

/* STYLES GO HERE */

}

??

It all dazzles me now, hihi!

Legend
October 12, 2017

Try the below combination for your mobile presentation:

<div class="fluid IntroIndex hide_desktop">

<div class="evissi_logo_wrapper">

<img src="http://evissi.com/imgs/intro-mobile-logo.jpg" alt="evissi"/>

</div>

<!-- end evissi_logo_wrapper -->

<div class="mobile_product_wrapper">

<a href="cactuswater/index.html"><img src="http://evissi.com/imgs/intro-mobile-cactus.jpg" alt="cactus water"/></a>

<a href="coconutwater/index.html"><img src="http://evissi.com/imgs/intro-mobile-coco.jpg" alt="coconut water"/></a>

<a href="watermelonjuice/index.html"><img src="http://evissi.com/imgs/intro-mobile-melon.jpg" alt="melon juice"/></a><br>

<a href="aloeverajuice/index.html"><img src="http://evissi.com/imgs/intro-mobile-aloe.jpg" alt="aloe vera juice"/></a>

</div>

<!-- end mobile_product_wrapper -->

</div>

<!-- end fluid introIndex hide_desktop -->

Then add the css below at the very end of all the other css styles:

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

.container {

display: none;

}

.hide_desktop {

display: block;

}

.evissi_logo_wrapper {

text-align: center;

background-color: #5FA439;

}

.evissi_logo_wrapper img {

width: 70%;

height: auto;

}

.mobile_product_wrapper {

display: flex;

flex-wrap: wrap;

}

.mobile_product_wrapper a {

width: 50%;

}

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

.mobile_product_wrapper a {

width: 100%;

}

}

MobosAuthor
Known Participant
October 12, 2017

I published it at  EVISSI :: The Plant Based Beverage Company   with the http://evissi.com/css/style-intro02.css  but it still doesn't show at my iPad on landscape.