ascobol
Forum Replies Created
-
Okay, so this is my playground for messily testing new plugins and ideas:
The issue persists– take a look at the green and the blue paragraphs under the images on mobile. The margins still push them off the screen.
@media screen and (max-width: 768px) { div[class^="grids-a-"] { width:100%; } }Either commenting that out in your frontend.css or changing it to max-width solves this particular problem, I don’t know what else it could affect though.
Great! And thanks, totally didn’t notice that the ‘px’ unit was a drop-down menu.
I am just playing around on localhost but if I do run into any problems in the future I’ll post here.
Cheers!
OMG of course… I keep forgetting about RegExes and was looking for an existing WP function. Thank you for setting my brain back on track.
Actually no, I need the user to be able to pick the attribute for any block. Back to thinking.Cheers.
- This reply was modified 6 years, 12 months ago by ascobol.
All I want is to be able to add a data-attribute to the topmost HTML element of any block. The content shouldn’t matter.
UPDATE: the maps not showing up on my phone was due to an Adblocker issue. However, they still aren’t being displayed in Internet Explorer. If anyone has an idea as to why that is, please please let me know.