Page 1 of 1

Text header rather than logo?

Posted: Fri Jun 12, 2009 2:07 am
by sweth
I'm testing out a stock install of CMSMS, and can't seem to see any easy way to have text (e.g. the site name) appear in the header section rather than using a logo.  Will I need to hack templates to do that?  Are there any (clean and simple) themes that would take care of this?

TIA,

Sweth.

Re: Text header rather than logo?

Posted: Fri Jun 12, 2009 2:48 am
by jmcgin51
the header logo is specified in the stylesheets, for most templates anyway.  So just replace this image call with the text of your choice.

Re: Text header rather than logo?

Posted: Fri Jun 12, 2009 3:14 am
by sweth
The logo appears to be set via the url() background property, though, and I don't believe that there's an equivalent text property, nor do I think that a tag like {sitename} would be expanded from the stylesheet even if I could include it in a property somehow.  I'd be happy to be proven wrong, but if so, could someone gie me an example?

Re: Text header rather than logo?

Posted: Fri Jun 12, 2009 6:29 pm
by jmcgin51
sweth wrote: I don't believe that there's an equivalent text property, nor do I think that a tag like {sitename} would be expanded from the stylesheet even if I could include it in a property somehow
correct on both counts (AFAIK)

But you can replace:
background-image: url(images/cms/newCIHbg.jpg);


with
Your site header text here

Just style the span as needed.

I believe in the future db stylesheets will be parsed by Smarty, but not currently.