Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • mbs13 Friend
    #758620

    and these lines?

    <?php
    // CUSTOM CSS
    if(is_file(T3_TEMPLATE_PATH . ‘/css/custom.css’)) {
    $this->addStyleSheet(T3_TEMPLATE_URL.’/css/custom.css’);
    }
    ?>

    pavit Moderator
    #758623

    <em>@mbs13 504054 wrote:</em><blockquote>and these lines?

    <?php
    // CUSTOM CSS
    if(is_file(T3_TEMPLATE_PATH . ‘/css/custom.css’)) {
    $this->addStyleSheet(T3_TEMPLATE_URL.’/css/custom.css’);
    }
    ?></blockquote>

    Hi there

    I suggested what should be done and how it works

    You purchased template and you are free to make any change you want to them as you feel and think it should be done.

    Best regards

    mbs13 Friend
    #758625

    Sorry, but i dont understand these lines:

    <?php
    // CUSTOM CSS
    if(is_file(T3_TEMPLATE_PATH . ‘/css/custom.css’)) {
    $this->addStyleSheet(T3_TEMPLATE_URL.’/css/custom.css’);
    }
    ?>

    What are they for?

    Saguaros Moderator
    #758627

    It simply check if that ‘custom.css’ file exists, it will load style declared in this css file.

    If you already have ‘custom.css’ file within the path: /templates/ja_hawkstore/css/ but it is not loaded, then you must check whether there is something wrong in style or not.

    You can post your site’s URL here and tell me the css you use so that we can check.

    mbs13 Friend
    #758646

    Then, if i understand you the line

    <link rel=”stylesheet” href=”<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/custom.css” type=”text/css” />

    isn’t necessary because the file custom.css is loaded by
    <?php
    // CUSTOM CSS
    if(is_file(T3_TEMPLATE_PATH . ‘/css/custom.css’)) {
    $this->addStyleSheet(T3_TEMPLATE_URL.’/css/custom.css’);
    }
    ?>

    But i need to add that line to load the file custom.css

    And this is my question. Why i need to add that line?

    Saguaros Moderator
    #758649

    My point is:

    – Leave the code in that file as default – no need to add that line
    – Put your custom css code into ‘custom.css’ file
    – Send me URL of your site and illustrate the modification you expect via screenshots

    I will check what’s wrong.

    Saguaros Moderator
    #758685

    I checked your site in PM you sent me

    As I can see that your site is loading ‘custom.css’ properly: http://prntscr.com/97fevz

    Is that what you’re trying to achieve?

Viewing 7 posts - 16 through 22 (of 22 total)

This topic contains 22 replies, has 3 voices, and was last updated by  Saguaros 8 years, 12 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum