Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • nysfda Friend
    #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.css

    at 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 Moderator
    #920596

    Hi 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.css

    Take 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

    nysfda Friend
    #920599

    Great! Thank you. I will let you know if it happens again.

    nysfda Friend
    #921044

    Hello, 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 Moderator
    #921099

    Hi 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.

    nysfda Friend
    #921107

    Excellent! Thank you for the explanation I appreciate it.

Viewing 6 posts - 1 through 6 (of 6 total)

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