:after selector not working
As you can see here: https://ivoryadler.brizy.site
After selector not working.
Even if I use border for divider (which on another site I actually need "/" as a seperator) - I need the last child to not have a border (Commented about last-child not working here: https://support.brizy.io/hc/en-us/community/posts/360076226031-Child-selectors-in-custom-CSS
Also, need the separator to not be so high like it is with a border, so I'd much prefer being able to use :after selectors.

-
Hi,
From what I know my colleague Denis sent you an answer to your comment: https://support.brizy.io/hc/en-us/community/posts/360076226031/comments/4405045488913 Did you check this?
0 -
Hi Alex, I did check that comment, and while useful for this one use case, I find myself needing more uses for :after and :before selectors, especially with dynamic content, since there's no way to pre-pend information via the native builder.
So how do I do this WITHOUT using the inspector each time to get the correct element selector? Custom ID or class? I assumed element:after would be enough
0 -
Hi,
you could add CSS class or ID but you will have to go through Inspect Element anyway to find the right selector because the custom css class could be placed in a branch higher than the div you need. So you may need to add some more selectors after custom css class in your code.
0
Please sign in to leave a comment.
Comments
3 comments