copywrite removal in the footer and color change

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Sep 09, 2013 8:30 am
Hi how can I remove the footer and change the color? I use the template Shop & Buy
thanks
User avatar
Junior Boarder

GK User
Mon Sep 09, 2013 8:43 am
Hi there,

You can change copyright text in template settings > features > copyright section.

Style can also be changed in template settings > Basic settings > Template color.

Copyright can be removed totally by editing following file and lines.

File: templates/gk_shop_and_buy/layouts/blocks/footer.php
Line: 15 to 19.
Code: Select all
   <?php if($this->API->get('copyrights', '') !== '') : ?>
   <p id="gkCopyrights"><?php echo $this->API->get('copyrights', ''); ?></p>
   <?php else : ?>
   <p id="gkCopyrights">Template Design &copy; <a href="//www.gavick.com" title="Joomla Templates">Joomla Templates</a> GavickPro. All rights reserved.</p>
   <?php endif; ?>


See you around...
User avatar
Platinum Boarder

GK User
Mon Sep 09, 2013 12:06 pm
Hi thanks but I would like to put a custom color only footer_nav where I modify it?
thanks
User avatar
Junior Boarder

GK User
Mon Sep 09, 2013 9:21 pm
To add a new color style you need to do following.
Current default style files.

Code: Select all
templates/gk_shop_and_buy/css/style1.css
templates/gk_shop_and_buy/css/style2.css
templates/gk_shop_and_buy/css/style3.css
templates/gk_shop_and_buy/css/style4.css
templates/gk_shop_and_buy/css/style5.css
templates/gk_shop_and_buy/css/style6.css

And their typography files
Code: Select all
templates/gk_shop_and_buy/css/typography/typography.style1.css
templates/gk_shop_and_buy/css/typography/typography.style2.css
templates/gk_shop_and_buy/css/typography/typography.style3.css
templates/gk_shop_and_buy/css/typography/typography.style4.css
templates/gk_shop_and_buy/css/typography/typography.style5.css
templates/gk_shop_and_buy/css/typography/typography.style6.css


For this example I would refer to new style as style7.

So add or copy one of the styles and rename them as style7 files.
Code: Select all
templates/gk_shop_and_buy/css/style7.css
templates/gk_shop_and_buy/css/typography/typography.style7.css


To be able to select the style in template settings do below edits.
File: templates/gk_shop_and_buy/templateDetails.xml
Line: 133 which is below
Code: Select all
                                                  <option value="6">TPL_GK_LANG_COLOR_6</option>

Replace with below
Code: Select all
                                                  <option value="6">TPL_GK_LANG_COLOR_6</option>
                                                  <option value="7">TPL_GK_LANG_COLOR_7</option>


Now we need to add language file for color 7

File: languages/en-GB/en-GB.tpl_gk_shop_and_buy.ini
Line: 32 which is below
Code: Select all
TPL_GK_LANG_COLOR_6="Color VI"

Replace with below
Code: Select all
TPL_GK_LANG_COLOR_6="Color VI"
TPL_GK_LANG_COLOR_7="Color VII"



Now to be able to select the new style from frontend do following.

File: templates/gk_shop_and_buy/layouts/default.php
Line: 209 which is below
Code: Select all
            <a href="#" id="gkColor6"><?php echo JText::_('TPL_GK_LANG_COLOR_6'); ?></a>

Replace with below
Code: Select all
            <a href="#" id="gkColor6"><?php echo JText::_('TPL_GK_LANG_COLOR_6'); ?></a>
            <a href="#" id="gkColor7"><?php echo JText::_('TPL_GK_LANG_COLOR_7'); ?></a>


Let me know if you need further help.
User avatar
Platinum Boarder

GK User
Tue Sep 10, 2013 10:54 am
hi thanks for the tip you gave me, but I just want to change the color to the footer of the style 1 without having to make a new style.
User avatar
Junior Boarder

GK User
Tue Sep 10, 2013 11:15 am
Footer doesn't have a background color, current color is coming from body class.
Change #282C2F to your color.
Code: Select all
body { background: #282C2F; }


If you don't want to change current dark color in footer section but add an another color for footer div then use below.

Change #282C2F to your color.
Code: Select all
#gkFooter { background: #282C2F; }


See you around...
User avatar
Platinum Boarder


cron