windsurfer Posted April 30, 2023 Report Share Posted April 30, 2023 Just upgraded to V14 Just wondering if there is a way to modify a templates css so it doesn't get overwritten by an update or should i copy the template and give it a different name ? Quote Link to comment Share on other sites More sharing options...
Katryne Posted April 30, 2023 Report Share Posted April 30, 2023 In every template css folder, there is a mytngstyle.css file which should not be overwritten when upgrading. There should you put your css modifications. Quote Link to comment Share on other sites More sharing options...
windsurfer Posted April 30, 2023 Author Report Share Posted April 30, 2023 Thank you Quote Link to comment Share on other sites More sharing options...
windsurfer Posted May 6, 2023 Author Report Share Posted May 6, 2023 Working with template 13 I want to edit some css for the main image which is located in root/css/genstyle.css .rounded10 { border-radius: 10px; margin-right: 181px; margin-bottom: 50px; } I added the below to the root/css/mytngstyle.css but it will not pick that up. Am i doing something wrong .rounded10 { left-margin: 300px; } There is no css for this in the template css Quote Link to comment Share on other sites More sharing options...
Katryne Posted May 6, 2023 Report Share Posted May 6, 2023 Try to include your css here : /templates/template13/css/mytngstyle.css And if it does not give immediately the expected result, you may add !important, this way : .rounded10 { left-margin: 300px!important; } Quote Link to comment Share on other sites More sharing options...
windsurfer Posted May 6, 2023 Author Report Share Posted May 6, 2023 I tried that before and this is what i get . Quote Link to comment Share on other sites More sharing options...
klooster Posted May 6, 2023 Report Share Posted May 6, 2023 The !important comes after the value of the property value pair declaration, preceded by at least one space! .rounded10 { left-margin: 300px !important; } Quote Link to comment Share on other sites More sharing options...
windsurfer Posted May 6, 2023 Author Report Share Posted May 6, 2023 Works now, thanks Probably was too bust installing win 11 on my laptop. 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.