Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

How to delete the page title


Go to End


7 Posts   2230 Views

Avatar
evren

Community Member, 37 Posts

11 October 2008 at 3:32pm

Edited: 11/10/2008 4:24pm

SS is great but got matter about CSS's
Checked all CSS files and couldnt find it's code. Even not sure that there is???

In the top of content area, BlackCandy (maybe also others) put the "page name" with huge letters automaticly.
Is there a way to remove the name area and let content (text) go up to start from its location.

Or maybe making it a bit smaller?

Regards

Avatar
Willr

Forum Moderator, 5523 Posts

11 October 2008 at 5:02pm

You would want to look in the template files to remove that. I would assume you are talking about the title field on the page.

Have a look at themes/blackcandy/Templates/layout/Page.ss for the template which i think you want to remove the code from

Avatar
evren

Community Member, 37 Posts

12 October 2008 at 1:19am

Ok I've found it and works.

But I want to ask about, is there a way to print "Navigation Label" to there?
If yes what should I write instead of $Title

Already tried
$Navigation label
$Navigation Label
$Navigation_Label
$NavigationLabel
$Navigation
$Nav

None of them works.

And asking too much but, is there a way to make that title smalller? Couldnt find it in the CSS.

Avatar
Willr

Forum Moderator, 5523 Posts

12 October 2008 at 1:27am

$MenuTitle is the one you want to use.

Avatar
evren

Community Member, 37 Posts

12 October 2008 at 1:56am

Edited: 12/10/2008 1:57am

Yes it is...

Thanks, it solved most of the problem. Cos I dont want to use non english characters in metas.

But one left if possible.
Where can I find the CSS string to make it smaller?
Is it somewhere else but "layout.css" cos couldnt find it there?

Thanks lot.

Avatar
Willr

Forum Moderator, 5523 Posts

12 October 2008 at 11:38am

I fully recommend you install Firebug for firefox. its a great plugin which enables to you inspect parts of that webpage and their CSS styles and where they come from!. It makes things like "where does this css come from" alot easier!. Check out themes/blackcandy/css/typography.css for some typography styles

Avatar
evren

Community Member, 37 Posts

13 October 2008 at 1:09am

Oh god, Thanks a lot.

Firebug saved my day.

In fact I'm opera user just using FF for scripts control panels cos it lest JS right clicks.
Thats why I never tried to search for its extension.

Firebug is extreme, before I was seeking all the code and finding with reading & guess.