Why does WP meddle with CUSTOM HTML?
-
To me, w3Schools is the ultimate resource for HTML, CSS and an awful lot more which is beyond me. These guys know how to do it…
So WHY, when I find a nice dropdown menu on the W3Schools website, that I want to use I’m the header of my Twenty Twenty Three theme, does WP adulterate it?The link I provided goes to the W3Schools dropdown I wanted to use, but when I copied the CSS into the customiser, and the HTML into a Custom HTML block within a Row in the Header, does WP add <br /> at the end of every link, and </p> after every button – completely wrecking the lovely look of the dropdown?
I finally thought I’d cracked it when I used CSS to make the <br /> “display: none;” but (of course) WP just added it all again!
The CUSTOM HTML block, isn’t in fact a custom html block at all, it’s a block which you can add your own html to, as long as WP approves. It’s like customising your own car, but the only paint you’re allowed to use must be grey (gray).
Even LOCKING the block is a joke! What’s that about? You lock it, and then when you come back to it, it’s been altered…
I’ve searched for a plugin to stop WP messing with my html, but reading the small print suggests they don’t always work. If anyone knows of a solution to this (other than using a different CMS) I would be very grateful.
Of course, I would use a plugin if you know of a reliable one!
AndyThe page I need help with: [log in to see the link]
The topic ‘Why does WP meddle with CUSTOM HTML?’ is closed to new replies.