Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » How to delete the page title

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

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

Page: 1
Go to End
Author Topic: 1577 Views
  • evren
    Avatar
    Community Member
    37 Posts

    How to delete the page title Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: How to delete the page title Link to this post

    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

  • evren
    Avatar
    Community Member
    37 Posts

    Re: How to delete the page title Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: How to delete the page title Link to this post

    $MenuTitle is the one you want to use.

  • evren
    Avatar
    Community Member
    37 Posts

    Re: How to delete the page title Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: How to delete the page title Link to this post

    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

  • evren
    Avatar
    Community Member
    37 Posts

    Re: How to delete the page title Link to this post

    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.

    1577 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.