Forum Replies Created
-
AuthorPosts
-
thoughtonParticipant
That’s interesting! I don’t understand what will happen if it gets flagged as spam – there is no ‘spam’ queue the way there is for blog comments. I will investigate, thanks!
thoughtonParticipantThanks Andrii, that works perfectly. I like the new-look arrows too!
Cheers,
Tim
thoughtonParticipantHi Andrii, thanks for the reply.
I did consider using Akismet, but will it work on a regular contact form? I thought it only works on blog comments?
I normally use CF7, so switching to that isn’t a big problem.
Cheers,
Tim
thoughtonParticipantAlright, I’ve come up with a work-around for this.
I solved the zoomin/zoomout problem by using the CP Google Maps plugin instead of the iframe embed method. However this doesn’t solve the problem on an iPhone when the map fills the screen – any swipes pan the map instead of scroll the page.
To fix that I had to leave the height in CP Google Maps blank, and then use this CSS in my kanso-child style.css file:
.cpm-map {height: 450px;}
@media only screen and (max-width: 767px) {
.cpm-map {height: 250px;}
}All this does is make the map only 250px high on small mobile devices, so it doesn’t take up the whole viewport.
Edit: my word, there is a lot of spacing when using <code>
thoughtonParticipantHmm, I thought I had read almost every post on this forum yesterday, but today I found this one which was quite useful.
Adding this to my Kanso-child style.css file:
@media only screen and (max-width: 767px) {
#logo img { max-height: 75px; }
}This appears to have fixed the ‘wiggle’ problem on iPhone. I imagine changing the media query will fix it on iPad as well.
Andrii, can you see any problems with this approach? I would prefer to conditionally not load the relevant javascript if possible as that would help reduce page size (a battle I’ve been fighting! Down from 7.5MB to 4.3MB so far…)
- This reply was modified 10 years, 5 months ago by thoughton.
-
AuthorPosts