Hi,
This is not a CouchCMS problem but rather an implementation problem, the others are correct in saying it's the CSS media queries. If you look at another page, for example -
http://www.designdiverso.com/about.phpYou are correct that each pages CSS has the same media queries, however it seems that each page has its own CSS file with slight changes. It would seem as though contact.css has an error within its media CSS that is rendering all css inside of the query found at line 468.
You can confirm this by opening google chrome to the contact page, you will need to be familiarised with the inspect element feature. Find yourself within inspect element to the mobile menu icon, on the contact page this icon isn't seen (but it's there in inspect element). If you're viewing on desktop, you can click on the <span> inside the menu icon and you'll see it has the attached styles:
- Code: Select all
@media screen and (min-width: 48.063em) contact.839359103.css:468
.nav-black .toggle.menu span { contact.839359103.css:1589
color: #fff;
}
So inspect element is telling you that on desktop sites, the menu icon has that css style. It also tells you that it's inside a media query (Started at line 468) and the css rule is on like 1589. (Clearly the media query is still open all the way down at line 1589).
Please check line 468 of "contact.839359103.css" You will see the following:
- Code: Select all
@media screen and (min-width: 48.063em) {
.contact-locations .new-haven, .contact-locations .tampere, .contact-locations .vancouver {
padding: 0.625em 0.625em 1.250em;
width: 33.3%;
border-left: solid 1px #fff; }
.contact-locations .new-haven:first-child, .contact-locations .tampere:first-child, .contact-locations .vancouver:first-child {
border-left: none; }
/* .contact-locations .new-haven:after, .contact-locations .tampere:after, .contact-locations .vancouver:after {
opacity: 0; } }*/
It would seem that the original closing bracket for the media query is within the commented line shown above, which is why the media query is not closed for the rest of the css file.
Please add a closing curly bracket for the media query, so it looks like this (If you wish to close the query here):
- Code: Select all
@media screen and (min-width: 48.063em) {
.contact-locations .new-haven, .contact-locations .tampere, .contact-locations .vancouver {
padding: 0.625em 0.625em 1.250em;
width: 33.3%;
border-left: solid 1px #fff; }
.contact-locations .new-haven:first-child, .contact-locations .tampere:first-child, .contact-locations .vancouver:first-child {
border-left: none; } }
/* .contact-locations .new-haven:after, .contact-locations .tampere:after, .contact-locations .vancouver:after {
opacity: 0; } }*/
I'll post that again so I can show where I added the closing bracket:
@media screen and (min-width: 48.063em) {
.contact-locations .new-haven, .contact-locations .tampere, .contact-locations .vancouver {
padding: 0.625em 0.625em 1.250em;
width: 33.3%;
border-left: solid 1px #fff; }
.contact-locations .new-haven:first-child, .contact-locations .tampere:first-child, .contact-locations .vancouver:first-child {
border-left: none; }
}Again, this is just a standard CSS issue and not couch related, but I hope we've been able to help