I have my user.css file set up properly in Joomla 4 using the Cassiopeia template but I do not have any experience overriding CSS when CSS selectors like *,>,etc are used. Can someone show me the correct way to override the following code in my user.css file so that I can adjust the margin-top as needed?
Code:
.container-component>:first-child,.container-sidebar-left>:first-child,.container-sidebar-right>:first-child,.container-component>*+*,.container-sidebar-left>*+*,.container-sidebar-right>*+* { margin-top: 1em;}
Statistics: Posted by cipeone — Fri Jan 03, 2025 8:22 pm