New User
Quick Review:
I place a custom custom.css
in the css
directory for my custom theme (just a demo custom mytheme to test)
Yet, nothing in the custom.css
seems to ever apply to the site. How do you get a custom.css
to apply in an inherited theme?
What I Have Done:
I have read the few posts on this topic and carefully reviewed the documentation. https://learn.getgrav.org/17/themes/customization
This is a new GRAV install and installed locally using a docker container. I can edit files and make a logo change for example so the inherited theme is working. The only manual change is adding the images/logo
directory in the custom theme.
My directory structure is:
user/
themes/
mytheme/
css/
The mytheme was setup using the developer tools per https://learn.getgrav.org/17/themes/customization. It is an inherited theme from Quark to test customization.
The mytheme
applies and is active.
I have done a full cache clearance multiple times (everything cleared ) from the admin.
I have re-booted etc.
Yet, nothing that I place in custom.css
seems to apply.
Sample in custom.css
.notices.green {
background-color: #eee600 ; /* Green NO MAKE THIS YELLOW TO TEST*/
color: #ffffff; /* White text */
border: 10px solid #006400; /* Dark green border */
}
Here, I am just testing and setting the notices green attributes to yellow so I can immediately see if this is working.
Nothing. Clear caches. Restart GRAV server. Verify custom theme is active and working. Nothing.