Ok, I am no rocket scientist, nor super clever developer, but is there a reason why the changes in the customizer won't stick after pushing the save button??
I've tried with ssl activated and disactivated, sometimes it works sometimes not.

I have been trying to customize the second theme.
shopping bag image, background image, some colors and stuff like that.
but it has taken me a few hours now and still can't get the changes to stay....

if I want to just download and edit the actuall Css file, where is it located?

Thanks for any guidance
In Design
Wednesday, April 18 2018, 05:04 PM
Share this post:
Responses (3)
  • Accepted Answer

    Friday, April 20 2018, 01:58 PM - #Permalink
    Hi there,

    Could you please take a look at the following info, and after that provide the users of the forum with some more useful information about your system, configuration - and what exactly did you do (step by step, and preferably illustrated with screenshots)?

    Here we go:
    https://arastta.org/forum/welcome-to-arastta-forums
    https://arastta.org/forum/forum-rules
    https://arastta.org/docs/user-manual/tools/system-information
    https://arastta.org/docs/user-manual/system/settings/server

    For your last question, please make yourself familiar with the rest of documentation, and the file system.
    T.ex. the "Understanding themes" section: https://arastta.org/docs/developers/quick-start
    The reply is currently minimized Show
  • Accepted Answer

    Hackasacka
    Hackasacka
    Offline
    Tuesday, April 24 2018, 05:12 PM - #Permalink
    Hi Mr. Andersson,

    It may be worth pointing out that the template "customise" option only works for the Second theme (see this old post explaining):-
    https://arastta.org/forum/default-theme-error#reply-3261

    This may explain your intermittent results as opposed to it being related to the SSL setting although without a more detail it is difficult to be sure.

    If you try to save the "customisation" for the "Default" template you should get an error in the Admin - Tools - Error Logs?

    There should be an error in the error logs if you have turned it on in the Admin - System - Settings - Server (tab) -

    Debug System - Yes
    Display Errors - Advanced
    Log Errors - Yes
    Error Log Filename - error.log

    If you are only trying to "Customise" the Second template then it may be related to file permissions on the server as this is a common problem.

    It may be easiest to simply edit the files directly yourself just keep a copy of the original first in case you need to recover the settings at a later date.

    The first file of interest is the "header.tpl". This contains the layout for the top block of the web page.

    Here is the code in file location "/catalog/view/theme/second/template/common/header.tpl" (line 120 - 138 approx.)
    <header>
    <div class="container">
    <div class="row">
    <div class="col-sm-<?php echo $logo_left_area; ?> hidden-xs">
    <div class="text-muted social-links"><?php if($theme_config->get('facebook_url', 'https://facebook.com/#')) : ?><a href="/<?php echo $theme_config->get('facebook_url', 'https://facebook.com/#'); ?>" target="_blank" class="facebook"><span class="fa fa-2x fa-fw fa-facebook"></span></a><?php endif; ?> <?php if($theme_config->get('twitter_url', 'https://twitter.com/#')) : ?><a href="/<?php echo $theme_config->get('twitter_url', 'https://twitter.com/#'); ?>" target="_blank" class="twitter"><span class="fa fa-2x fa-fw fa-twitter"></span></a><?php endif; ?> <?php if($theme_config->get('pinterest_url', 'https://pinterest.com/#')) : ?><a href="/<?php echo $theme_config->get('pinterest_url', 'https://pinterest.com/#'); ?>" target="_blank" class="pinterest"><span class="fa fa-2x fa-fw fa-pinterest"></span></a><?php endif; ?> <?php if($theme_config->get('instagram_url', 'https://instagram.com/#')) : ?><a href="/<?php echo $theme_config->get('instagram_url', 'https://instagram.com/#'); ?>" target="_blank" class="instagram"><span class="fa fa-2x fa-fw fa-instagram"></span></a><?php endif; ?></div>
    </div>
    <div class="col-sm-<?php echo $theme_config->get('logo_width', 4); ?>">
    <div id="logo" class="text-center">
    <?php if ($logo) { ?>
    <a href="/<?php echo $home; ?>"><img src="/<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" class="img-responsive" /></a>
    <?php } else { ?>
    <h1><a href="/<?php echo $home; ?>"><?php echo $name; ?></a></h1>
    <?php } ?>
    </div>
    </div>
    <div class="col-sm-<?php echo $logo_right_area; ?>"><?php echo $cart; ?></div>
    </div>
    </div>
    </header>


    Hope this helps.

    Regards,

    Hackasacka
    The reply is currently minimized Show
  • Accepted Answer

    Hackasacka
    Hackasacka
    Offline
    Tuesday, April 24 2018, 05:37 PM - #Permalink
    Hi Mr. Andersson,

    As the "customiser" for the "Second" template writes to a file called "customizer.css" which get called into the web page by the PHP in the "header.tpl" above. If you do a "view page source" in your browser you can see this is included in the "head /head" section.

    Here is the code in file location "/catalog/view/theme/second/stylesheet/customizer.css" for the "cart" image "headercart.png" (bottom of the page):-
    background-image url(image/headercart.png');

    The other possibility is to simply overwrite the existing "headercart.png"image with a new image of the same name?

    It is possible to edit the files mentioned above using the Admin - File Manager" and using the "edit icon" 7th from right-hand-side too.

    Hope this helps.

    Regards,

    Hackasacka
    Like
    1
    The reply is currently minimized Show
Your Reply