By Farouk111 on
hello
am fairly new to css , which line should i edit in order to change the slogan size of the garland theme? its too big for my website
hello
am fairly new to css , which line should i edit in order to change the slogan size of the garland theme? its too big for my website
Comments
You'll probably have to open
You'll probably have to open one of the .tpl.php (template pages) to find the class associated with the slogan...
I'm heading to a meeting, but i'll take a peek when i get back... :)
Steve
found it... in the
found it... in the page.tpl.php file, you can see that the slogan content is inside div with an id="header"...
so, look in the style.css file, and on line 514 you have:
change the font-size line, and you are set... keep in mind, that will also change the site name value too...
thanks but are you sure? i
thanks but are you sure?
i changed it from 1.5em to 0.5 and nothing happened
www.2knowmyself.com
The Ultimate Source For Self Understanding and Personal Growth
positive... keep in mind
positive... keep in mind that CSS content could be cached, so you might not be seeing your updated version...
few days have passed and its
few days have passed and its still the same , you can check my site yourself www.2earn-online.com
are you sure i only have to edit this entry in css file and nothing else????
www.2knowmyself.com
The Ultimate Source For Self Understanding and Personal Growth
I'm sorry amigo, but that's
I'm sorry amigo, but that's the only file I edited on my local site...
C:\wamp\www\drupal\themes\garland\style.css
Just out of curiosity, have you tried looking at the site on an entirely different machine? And you did clear your browser's cache, right?
(using IE)
Tools > Internet options > Delete (Temporary Internet Files)
Mate, it looks like you
Mate,
it looks like you never saved or put your CSS file again. I just took a look at your site there using the "Web Developer toolbar for FF (very handy), & that line still has 1.5em as the value.
Dave
this is really weird, i just
this is really weird, i just downloaded my css file and here is the part of the code listed there
by the way, i edited garland theme and changed its colors long ago, does this result in generating new css file anywhere else???
www.2knowmyself.com
The Ultimate Source For Self Understanding and Personal Growth
im sorry your having such a
im sorry your having such a difficult time with something that should be relatively trivial... :(
if i understood your last question correctly, the answer is no... if you are using the Garland theme (or any theme for that matter) and you update the associated CSS file, that affects every page on your site that references the theme... multiple changes are not required...
Using the WebDev toolbar,
Using the WebDev toolbar, this is what I can see from your CSS:
(Source of the file is here)
Line 514:
I notice in the CSS file, it says: "If you use a customized color scheme, you must regenerate it after modifying this file."
Have you tried clearing the Cache in Drupal? Worth a shot.
Administer >> Settings >> Performance >> Clear Cache
All the best,
Dave
Hi dave i cleared the cash
Hi dave
i cleared the cash but nothing happened
by the way, i noticed a brand new css file in the new directory that resulted from customizing the garland's theme , do you think editing this one will do it?
www.2knowmyself.com
The Ultimate Source For Self Understanding and Personal Growth
hey, just looking at the
hey,
just looking at the Source Code of your site - the main CSS file it is calling is at:
/sites/default/files/color/garland-075b3ba5/style.cssThis is the file that you'll need to change.
Dave
Hi, I have the same problem.
Hi,
I have the same problem. I don't know how to 'regenerate' the style. I found that the main CSS file is just like what Dave said. However, I don't have permission to change it directly as it belongs to apache.apache, and I am not the admin of the system. Can anyone tell me what to do? Thanks in advance.
Martin
Hello, is there a way to
Hello,
is there a way to change the font of the sitename and siteslogan separately?
(in D6). Thanks!
You can write HTML directly in the slogan field...
And change the size that way. Much easier. If you didn't know that already
simply go to
simply go to theme-configuration and re-save the settings. files (and css too) are re-created under folder /sites/default/files/color/.