Tagged: before css, highlights, position, pseudo
Author | Posts |
---|---|
andrewpeters
October 14, 2021 at 2:42 pm
|
Heads up! this post was created when Microthemer was at version 6. The current version is 7. Some references to the interface may be out of date. Hey guys, made a quick video to explain my situation: https://www.loom.com/share/4667bee0c6de4d0f8a48b27e0bcb9a7f Here’s the code I’m using:
|
Sebastian
October 14, 2021 at 3:57 pm
|
Hmm, I can’t see anything wrong with your CSS. But it looks like there is an issue with the width of the green area. Also, is top:50% necessary? Could you leave that out and have height: 50%? Just a guess, but setting both top and bottom can sometimes lead to less predictable results. Also might be worth trying display: block on the main element e.g.
But all this is guessing, I would normally ask for a link to the page to work out what’s going on, but I see you’re working on a local .dev site. Cheers, |
andrewpeters
October 14, 2021 at 7:11 pm
|
Solid. Thanks Sebastian! |