Re: SOLVED Add a custom css file to a template override
Posted 10 years 8 months ago
You can create a file using a simple text editor for custom css and name it using this format: templatefolder-custom.css (e.g., rt_kirigami-custom.css or gantry-custom.css).
Re: SOLVED Add a custom css file to a template override
Posted 10 years 3 months ago
I know this sounds like beating a dead horse, but I am having issues with this same thing.
I have created a custom css file, called it rt_alerion-custom.css saved it to the rt_alerion folder, added the custom class to the module but no styles! The link to the style sheet is there, the custom class is showing in the html for the module but still no style showing.
An extra pair of eyes would be real helpful! Here is the class:
Re: SOLVED Add a custom css file to a template override
Posted 10 years 3 months ago
Hi Matt,
Leave out the element .class and see if that works.
.home-box-wrapper {
border: 1px solid #ccc;
padding:3px;
border-radius:5px;
box-shadow: 5px 5px 7px #ccc;
color:#000;
}
Re: SOLVED Add a custom css file to a template override
Posted 10 years 3 months ago
Thanks Dick for the reply, but that didn't work either! Not sure what is going on. if you happened to check the site the boxes on the left are working because I hard coded the css into the template for the module, obviously not what I want to do!
Re: SOLVED Add a custom css file to a template override
Posted 10 years 1 month ago
I understand the comments I added them in in the body of the first message. They do not exist in the file.
My css is in a file named 'rt_metropolis-custom.css' and is in the template/css folder. I have not modified the showcase.css. I want to override the css being applied by the showcase.css file.
Thanks for your response but you did not answer my question - How can I override the css being applied by the showcase.css file.