Hosting and Site building help

Just realised with the blog I'm doing, when I open the page on my phone, samsung, if I click on one of the blog pages and then click to create a comment the keyboard appears on screen and then disapears, I can't leave any comments, however if I open it on my desktop machine I can type in the comments section to leave one, anyone point me in a direction of how to fix this?

Matt
 
Just realised with the blog I'm doing, when I open the page on my phone, samsung, if I click on one of the blog pages and then click to create a comment the keyboard appears on screen and then disapears, I can't leave any comments, however if I open it on my desktop machine I can type in the comments section to leave one, anyone point me in a direction of how to fix this?
Are you sure this is related to the coding of your blog, and not the functioning of your phone? What's the blog url and I'll try it on my phone.
 
Exactly the same thing is happening on my phone, i.e. I click into the comment field, the keyboard appears and then disappears.

I'm not sure what's happening, but my guess would be there is some javascript that is triggering the comment form to be submitted prematurely when you click into the comment field.
 
Exactly the same thing is happening on my phone, i.e. I click into the comment field, the keyboard appears and then disappears.

I'm not sure what's happening, but my guess would be there is some javascript that is triggering the comment form to be submitted prematurely when you click into the comment field.
And, being a newb to this, how or where do I get to edit javascript?

One post suggests it's something to do with a firm resize occurring?
 
You would normally be able to see javascript within the html, which you could view by Ctrl+Shift+I in Chrome. Or in Chrome you can press Ctrl+U to view page source code.

Anyway, I'm not sure it is javascript, it could be a layout issue that is causing it. Whatever, it is a non-trivial problem, and I would suggest asking at the Wordpress support site, where they might have a forum, or on Stackoverflow.

I include a few things I found after a quick Google, but it's non-conclusive:

Could be plugins?


Could be ordering of divs?

 
You would normally be able to see javascript within the html, which you could view by Ctrl+Shift+I in Chrome. Or in Chrome you can press Ctrl+U to view page source code.

Anyway, I'm not sure it is javascript, it could be a layout issue that is causing it. Whatever, it is a non-trivial problem, and I would suggest asking at the Wordpress support site, where they might have a forum, or on Stackoverflow.

I include a few things I found after a quick Google, but it's non-conclusive:

Could be plugins?


Could be ordering of divs?

Thanks for your help.

I'll take a look and see if I can look at the html / javascript behind it.

Matt
 
I'm lost, I think I'll delete it and start again, if that doesn't work see if I can find someone to build it.

I wouldn't do that after all your hard work getting this far. It doesn't really matter that people can't comment on mobile. People can still comment on desktop and that's enough. Down the line you can have another go at fixing it. I would try the Wordpress forum if you haven't already.

Meanwhile, I would just focus on site content and whatever your aims are for it.
 
...if I click on one of the blog pages and then click to create a comment the keyboard appears on screen and then disapears, I can't leave any comments, however if I open it on my desktop machine I can type in the comments section to leave one, anyone point me in a direction of how to fix this?
Having a very, very quick look it may be down to the 'keydown' event on the form and/or form elements which triggers a 'preventDefault' and 'submit' (this is all within the 'comment-reply' JS file). If it's not that, then i suspect it's down to some of the JS somewhere there.

I'm lost, I think I'll delete it and start again, if that doesn't work see if I can find someone to build it.
Given most CMS' like Wordpress are completely pain in the backside, especially for a complete novice let alone a dev (frustrates me when i have to touch it), i would really, really recommend looking at Squarespace or Wix, as you'll be able to get something together fairly quickly that works and doesn't look like you've thrown it together in your IT GCSE class.
 


Just use a no-code editor like this. I use Framer for ad landing pages and its beyond straight forward.

Wordpress is a breeze to work with but you need to have some foundation of web development and whats going on under the hood before beginning.
 
I just deleted everything and then started again with the Astra theme and went from there...created a few posts and then checked it worked on my mobile.

Not got a clue why it works now but didn't before but...

Still a lit of things to change on there but it kinda foes that I want for now....need to look at the images see if I can get them to open larger but it's work in progress.

Thanks for your help.


Matt
 
Back
Top Bottom