John Paul Posted December 21, 2022 Report Share Posted December 21, 2022 Hello and Happy Holidays to you all. I know it's the holiday season and everyone is busy with it and other life issues, so I'll be patiently waiting for a response (I hope). I'm changing colors to template21 in mytngstyle.css (for the umpteenth time trying to get it to work correctly). Everything was going according to plan until I added three of the postcard elements to mytngstyle. /*-----Postcards-----*/ .postcard .caption {padding: 11px 15px 33px 12px; overflow: hidden; position: relative; background: #436070 linear-gradient(#7095a9, #436070); transition: all 0.25s; margin-top:-4px;} .postcard:hover .thumbnail .caption {transition: all 0.25s; background: #436070;} .postcard .thumbnail .caption a:hover {color: #7095a9;} The colors will not change. Made sure everything is correct, cleared cache etc., but to no avail. Also it does not change in Firefox inspection tool or the other browsers inspection tools. Another set of eyes and brains would be appreciated Quote Link to comment Share on other sites More sharing options...
John Paul Posted December 21, 2022 Author Report Share Posted December 21, 2022 I just went ahead and changed all the colors in templatestyle.css and it all works. Just need to figure out how to change list1 in the header. it's fine in the footer. So if there's any suggestion on that I would appreciate it. Quote Link to comment Share on other sites More sharing options...
John Paul Posted December 22, 2022 Author Report Share Posted December 22, 2022 Got that issue fixed now too. Just created a ul.list2 for the header area. Quote Link to comment Share on other sites More sharing options...
youngros Posted January 3, 2023 Report Share Posted January 3, 2023 I have found that mytngstyle.css does not overwrite templatestyle.css Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted January 3, 2023 Report Share Posted January 3, 2023 The mytngstyle.css in the root directory overrides only templatestyle.css in the root directory which is used when you do not use a template. In order to override templatestyle.css for a given template you need to put the mytngstyle.css in the templates\templateN folder Quote Link to comment Share on other sites More sharing options...
youngros Posted January 3, 2023 Report Share Posted January 3, 2023 I was using mytngstyle.css within the template directory. I upgraded to v14 and on template 12 the search box is further to the right causing a scroll bar at the bottom. I had to alter the setting within templatestyle.css to correct it, using mytngstyle.css didn't do anything. Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted January 3, 2023 Report Share Posted January 3, 2023 Report the problem to Darrin so it can be fixed in TNG 14.0.1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.