Logo size

Commercial shopping Joomla template to easy create webshop with various extensions supported like ViruteMart, K2 and K2Store.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Jun 04, 2013 8:35 pm
Reply with quote
Report this post
Hi there
How can I increase the space for the logo on the upper left side?
Thanks for help
Regards Martin
User avatar
Fresh Boarder

GK User
Tue Jun 04, 2013 8:38 pm
Reply with quote
Report this post
You would like to change only its height or also width?
User avatar
Moderator

GK User
Tue Jun 04, 2013 8:41 pm
Reply with quote
Report this post
Both if it is possible
Thanks for quick answer!
User avatar
Fresh Boarder

GK User
Tue Jun 04, 2013 8:55 pm
Reply with quote
Report this post
Please edit: /templates/gk_storebox/css/override.css and add at its end:
Code: Select all
#gkLogo.cssLogo {height: 30px; width: 154px;}


Set width and height to your liking.

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Tue Jun 04, 2013 9:06 pm
Reply with quote
Report this post
thanks, cyberek
it works
but now it would be great if the main menu position is a little bit lower...
User avatar
Fresh Boarder

GK User
Wed Jun 05, 2013 8:51 am
Reply with quote
Report this post
Could You post an url to your site?
User avatar
Moderator

GK User
Wed Jun 05, 2013 11:20 am
Reply with quote
Report this post
you got a private message
don´t want to post the url till website is ready
thanks!
User avatar
Fresh Boarder

GK User
Wed Jun 05, 2013 12:39 pm
Reply with quote
Report this post
Use same override.css file and add in new line (at the end of file):
Code: Select all
#gkMainMenu {margin: 30px -16px 0 -16px!important;}


Play with first value to create look that you desire :).
User avatar
Moderator

GK User
Wed Jun 05, 2013 9:33 pm
Reply with quote
Report this post
thanks, cyberek
works perfect!
User avatar
Fresh Boarder

GK User
Sat Jun 15, 2013 9:34 am
Reply with quote
Report this post
but it (override css) doesn't work on some pages like an error page, why?
User avatar
Fresh Boarder

GK User
Sat Jun 15, 2013 10:10 am
Reply with quote
Report this post
could You pots an url to example error on your service?
User avatar
Moderator

GK User
Sat Jun 15, 2013 10:19 am
Reply with quote
Report this post
an url pm'ed to you, thanks

you all can check it at your end by opening an error page like this http://www.yourdomain.com/?option=non-e ... -component
User avatar
Fresh Boarder

GK User
Mon Jun 17, 2013 10:05 am
Reply with quote
Report this post
Ok. Ill report that to dev team and get back to You as soon as Ill get answer from them.
User avatar
Moderator

GK User
Mon Jun 17, 2013 10:20 am
Reply with quote
Report this post
Ok, I have the answer.
404 pages are small pages that doesn't have to load big css files to work - they need few lines of css code to look ok. So they are generated with use of file error.php (also offline.php works same way) and loads only error.style(x).css (error.style1.css in your case).
With that knowledge, You can do 2 things.
1. Make change to error.style(x).css and remember that there was a change in that file when You upgrade template
2. Make change to error.php (offline.php if You need) to import override.css.
To make that change, add additional line after:
Code: Select all
   <link rel="stylesheet" href="<?php echo JURI::base(); ?>templates/<?php echo $this->template; ?>/css/system/error.style<?php echo $template_style; ?>.css" type="text/css" />


so it looks this way:
Code: Select all
   <link rel="stylesheet" href="<?php echo JURI::base(); ?>templates/<?php echo $this->template; ?>/css/system/error.style<?php echo $template_style; ?>.css" type="text/css" />
   <link rel="stylesheet" href="<?php echo JURI::base(); ?>templates/<?php echo $this->template; ?>/css/override.css" type="text/css" />
User avatar
Moderator

GK User
Tue Jun 18, 2013 2:49 am
Reply with quote
Report this post
thank you!

it works of course
User avatar
Fresh Boarder


cron