Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By happyaffiliate on
Hello,
I'm using phptemplate engine and modifying a bit with box_grey theme.
Still a beginner in Drupal.. How can I increase the size of the slogan (I need to put a paragraph under website title).. or maybe how to make the mission to show .. and if it can show under the site title..
thanks
Comments
Open style.css and page.tpl.php in a text editor
I can help with the size of the slogan.
Open up style.css with an text editor like notepad.
Look for
Change the font-size to your liking.
To give you a notion #site-name has the font-size: 2.5em;
To change where the mission is shown you have to edit page.tpl.php,
Look for :
Move it to beneath:
That ought to do it.
If the changes are not shown after you upload the modified files, disable Cache support in your /index.php?q=admin/settings menu.
great reply
hey FlemmingLeer,
that reply was systemetic and great ..
Now I'm starting to find my way through working with themes.
I tried it and it is working good.
But what i meant with mission size was the number of characters alloud to be inserted; I inserted around 15 words, then it reached the limit and i can't write more, is there a way to work around that?
another thing, I searched through modules and forums for a solution for session timeout (ex:logout automatically after 15 min).. saw alot of threads, none with a solution.. Do you have any info to deal with that.
have a great day :)
session timeout module
I found this one by searching via google
http://lists.drupal.org/archives/development/2006-02/msg00075.html
But it´s still experimental I think, so take a backup of your site just in case.
http://www.google.com/search?q=site%3Adrupal.org+%22session+timeout%22
enter
site:drupal.org keywords search
in google text area. add " " to include like "session timeout" in the above search to get exact phrases.
Regarding the slogan, I really don´t know. But it sounds odd and must be a box_grey thing.
I know I have managed to insert lots and lots of code in the site mission in a Xtemplate and I think also in PHPtemplate.
Is the limit before or after you changed the page.tpl.php ?
And thank you, you to :)
Another link about sessiontimeout module
http://drupal.org/node/16217
.
--
( Evaluating the long-term route for Drupal 7.x via BackdropCMS at https://www.CMX.zone )
Mission/Slogan character limit: Solution?
Did you ever figure out how to extend your mission / slogan character limit? Perhaps there is a simple way to do this by changing the table column datatype?
Jonathan M. Lane
OpenConcept Consulting Inc. http://www.openconcept.ca/
I found that in Drupal 6
I found that in Drupal 6 variable 'site_slogan' is in the table 'variable' where data type is 'longtext', which is more than enough. Now I see that "Slogan" field in the "Site Information" form is set to "maxlength="128", which limits number of characters you can use for slogan to 128. Does anyone know whether and how this restriction can be overwritten in a theme, e.g. in template.php? I could probably hard code it in page.tpl.php by replacing variable 'site_slogan' with my text, but it would be nice if we could do this by filling Slogan text in the Site information form.
Increase the maxlength of the slogan
Increase the field size (maxlength) of the slogan (click here)
Drupal 8 version [updated]
I recently posted an update that applies this modification to Drupal 8 on the link you provided.