This is how to create a custom CSS compatible with Gantry 4...
Simply create a file called "<TEMPLATENAME>-custom.css" and put this file in the CSS folder of the template (where <TEMPLATENAME> is the name of the template e.g. rt_fracture). GANTRY4 will automatically load this CSS file. you can also have browser specific files by appending, for example, "-ie9" making the filename "<TEMPLATENAME>-custom-ie9.css"
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Sorry for stupid question but where will we put the custom HTML file? and how to assign it to header-a?
I'm using Rt_kirigami and need to make my logo responsive.
Thanks
Is it possible to define how much the logo image scales for each responsive size? My logo gets overlapped by the menu on two of the responsive sizes but looks great on mobile size and 1200px size.
Thanks Henning, that worked perfectly! I added some margins to position the logo correctly for each responsive size, but otherwise that the exact code I needed.
Thanks for the tip! I was going crazy trying to figure out how to make a logo responsive.
I also did away with some of the spacing issues by changing the padding around the rt-block for the custom html logo module in my custom css file - which allowed the logo to be larger. However, because the site I am doing has a very "horizontal" logo, it still wasn't enough. So I changed the header layout from 3-7-2, to 4-6-2 so my logo would show up wider, and thus, larger.
Then i realized that messed up the layouts for the tablets and phones. Oh well.