It seems to be a mistake as in the code template is using "<h1 class="gkLogo text">" which is dual css usage which uses gkLogo and text which are both separate css codes and when code is like that it gets its values from following files and lines.
Stylex.css ( x is a number )
Line : 191
- Code: Select all
.text {
text-shadow: 1px 1px 1px #FFFFFF;
}
Template.css
Line: 96
- Code: Select all
.text {
font-size: 30px;
line-height: 1.3;
padding-bottom: 20px;
padding-left: 0;
padding-right: 0;
padding-top: 0;
}
You can change above codes for your font size however any other elements using .text will also change. e.g message in demo website " I am Robert Cherry, an imaginative and experienced..."
To prevent that you can follow below.
Find File: "templatesgk_cherrydesignlayoutsblocksnav.php"
Find Line: 47
Which is
- Code: Select all
<h1 class="gkLogo text">
Change it to
- Code: Select all
<h1 class="gkLogoText">
Now in template.css
any of the following codes will change Logo text only...
Main Container Any text follows below styling
- Code: Select all
.gkLogoText {font-family:Arial, sans-serif; font-size:32px; line-height:12px; font-weight:bold; margin:0; color:#fff!important; float:left; padding: 15px 7px 0px}
Rest of this just a explanation of how css works for future references.
Adding "A link" styling if you want links different, lets change link fontsize to 50px
- Code: Select all
.gkLogoText {font-family:Arial, sans-serif; font-size:32px; line-height:12px; font-weight:bold; margin:0; color:#fff!important; float:left; padding: 15px 7px 0px}
.gkLogoText a {font-size:50px; }
Or you can use h1 styling same as above
- Code: Select all
.gkLogoText {font-family:Arial, sans-serif; font-size:32px; line-height:12px; font-weight:bold; margin:0; color:#fff!important; float:left; padding: 15px 7px 0px}
h1.gkLogoText {font-size:50px;}
or you can use a > span styling
- Code: Select all
.gkLogoText {font-family:Arial, sans-serif; font-size:32px; line-height:12px; font-weight:bold; margin:0; color:#fff!important; float:left; padding: 15px 7px 0px}
.gkLogoText a span {font-size:50px; }
Looking at the code for Logo Text which is below
- Code: Select all
<h1 class="gkLogoText">
<a href="./">
<span><?php echo $this->getParam('logo_text', ''); ?></span>
<small class="gkLogoSlogan"><?php echo $this->getParam('logo_slogan', ''); ?></small>
</a>
</h1>
As you can see starts with class gkLogoText with H1 element
--------Then continues with a class
----------------Then continues with span class
Last class if you have the css styling will overwrite all other previous classes.
See you around...