I’ve been trying to add pseudo elements for design purposes, and the closest I’ve gotten is to have it show up in the DOM, but without a display, height and width property (even though I set them in Cwicly). I am currently trying to do it with the :after on a simple section. Also, whenever I try to change its display property, it changes not only the pseudo elements, but the whole sections. I am a bit confused.
EDIT: Right after I posted, I discovered, that I needed to add something else than the usual “” in the content field. How would I go about adding a pseudo element with no text in said content field? The problem with the dimensions not applying persists.
Only adding “” does make the pseudo element appear, but the dimensions are not applied. And yes, I set it to block (though my issue with changing the display property on the pseudo element also changing it on the parent, still persists).
Those should be the three relevant settings to apply, right? thank you for the help
Good point about the display options not applying to pseudo elements, will have that rectified as soon as possible.
If you’re on the Section block, some properties are applied a bit specifically as its a combination of 2 elements… In this case, I’d recommend going with 2 Div blocks.