Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

thoughton

Forum Replies Created

Viewing 5 posts - 11 through 15 (of 15 total)
  • Author
    Posts
  • in reply to: Contact form #3587
    thoughton
    Participant

    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!

    in reply to: The built-in Fancybox #3581
    thoughton
    Participant

    Thanks Andrii, that works perfectly. I like the new-look arrows too!

    Cheers,

    Tim

    in reply to: Contact form #3577
    thoughton
    Participant

    Hi 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

    in reply to: Google Maps iFrame vs API #3560
    thoughton
    Participant

    Alright, 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>

    • This reply was modified 9 years, 10 months ago by thoughton.
    • This reply was modified 9 years, 10 months ago by thoughton.
    • This reply was modified 9 years, 10 months ago by thoughton.
    • This reply was modified 9 years, 10 months ago by thoughton.
    in reply to: Header on mobile #3557
    thoughton
    Participant

    Hmm, 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 9 years, 10 months ago by thoughton.
Viewing 5 posts - 11 through 15 (of 15 total)