-
AuthorPosts
-
April 20, 2016 at 7:15 pm #920587
Hello, awhile back I received some code that enlarged the logo at the top of our website. I added the code and it seemed to work. Since adding the code on several occasions the logo reverts back to it’s original SMALL size. When I go to check the code that I added it is MISSING. Do you know why this code is being deleted? I’ve had to reenter it at least 4 times now.
Here is the code:
/templates/ja_biz/local/css/themes/nysfda_theme/template.cssat line 3862, modify as follows:
.logo-image .logo-img {
height: 100px;
margin-top: -30px;
width: 150px;
}Then, at line 1256, modify as follows:
.t3-mainnav .container {
padding-bottom: 30px;
padding-top: 30px;
position: relative;
}pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 20, 2016 at 7:32 pm #920596Hi there
It is weird that your code is overrided anyway i now added the code to your custom.css file in this folder
/templates/ja_biz/local/css/custom.cssTake a look at the documentation for local folder and custom.css
It should fix your problem now , let me know if something goes wrong with it
1 user says Thank You to pavit for this useful post
April 20, 2016 at 8:10 pm #920599Great! Thank you. I will let you know if it happens again.
April 21, 2016 at 1:27 pm #921044Hello, I was reading through some of the documentation that you gave me links to. In the custom.css documentation it says the following:
"T3 Framework is developed with LESS, the LESS files are compiled to CSS files. Each time you compile, CSS files will be overridden so we suggest you not to use CSS to customize, develop your site because when you compile, your work can be lost."I have submitted a good number of support tickets and all the custom coding that has been recommended has been CSS. If I shouldn’t be using CSS to customize my site then why am I being given CSS code from your support team? Do all the modifications that I’ve made have the potential of being overridden?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 21, 2016 at 4:40 pm #921099Hi there
If you read carefully how T3 Frameworks works and specifically documentation HERE You will see that if you work previously on your system css files and make your changes on them and later you compile less to css then all your changes will be overrided, to avoid this, a new file ( custom.css ) should be used to add all your customizations, such file will be not overrided if you compile less to css or you update your template with a new version. Less files are used to simplify customizations, look at the /templates/ja_magz_ii/less/variables.less structure to see how easy is for example change the whole color of the website
@brand-primary: #00bfe6;
Or the navbar color
@navbar-default-color: @gray-darker;
where you have alreasy defined above the @gray-darker; color value.
So you can works with less files and make your changes there , but you can also use custom.css to add extra customizations
Hope it helped to clear your doubts about customizations.
1 user says Thank You to pavit for this useful post
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by nysfda 8 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum