hopesoftuk
Forum Replies Created
-
Did a new backup. This time I got:
[critical] – [2024/07/12 20:21:01] – Failed to create backup file: Failed to write files-index to backup file!Forum: Themes and Templates
In reply to: Child theme doesn't previewAh, I deactivated all the plugins and it worked! I’ll now reactivate them one by one until I find the culprit.
I’ll do the wp_enqueue_style as well.
Many thanks for your help, Jose.
Looking further, https://www.w3.org/html/wg/drafts/html/master/semantics.html#the-option-element says:
The value attribute provides a value for element. The value of an option element is the value of the value content attribute, if there is one, or, if there is not, the value of the element’s text IDL attribute.
So it looks as though the phone browser is doing the right thing.
I suspect this just affects Windows phones. The problem is that the code you generate for the menu is
<select id="tinynav1" class="tinynav tinynav1"> <option>Navigation</option> <option value="https://vpthemes.com">Home</option> <option value="#">Themes</option>
It looks like the Windows phone browser is returning a value of ‘Navigation’ for the first option, you treat this as a URL and try to go to
https://vpthemes.com/Navigation
. If you change it so that the first entry says:
<option value="#">Navigation</option>
that may solve it.But this is something you must fix.