Replacement Site Title to logo

Rafail Stratiotis Posted in Theme Development 2 years ago

Tthe change was made by

> /themes/ YOUR THEME /plugins/default/theme/page/elements/topbar.php


> /cache/css/1570298441/view/ossn.default.css

Make this change..

> topbar.php

<div class="topbar">
    <div class="container">
        <div class="row">
            <div class="<?php echo $center_name;?> <?php echo $hide_loggedin;?>">
                <span><a href="<?php echo ossn_site_url();?>"><img class="mylogo" src="https:// YOUR SITE NAME/logo.png" /></a></span>

> ossn.default.css

Put this code on your own ossn.default.css file

background: url("https://YOUR SITE NAME/logo.png") no-repeat;{
German Michael Z├╝lsdorff Replied 2 years ago

Thanks for sharing Rafail, but there are some fundamental rules you missed

  1. DISABLE Ossn cache BEFORE doing ANY development
  2. NEVER change/add/remove anything in the cache subdirectory, as this may lead to unpredictable results in the worst case - and will be lost with the next flush anyway
  3. Don't touch Ossn core files - as they will be replaced by the next release update

Even if you want to apply only small changes to a theme, it makes sense to apply these changes not to the original, but a copy. See for detailed instructions