Styling Title of Main Wiki Page Only

DerkG
DerkG

I'm looking for a way to style the title of the main wiki page only - I want to set it to display: none;

Is there a way to do this for ONLY the main wiki page and retain the title on the other wiki pages?

Any and all suggestions are welcome!

GM: https://knights-of-the-realm-1.obsidianportal.com/ - a Greater Pendragon Campaign

GM: https://sagaofthenorth..obsidianportal.com/ - a Dungeon World Campaign

Player/Scribe: https://thepriceofimmortality.obsidianportal.com/ - a Pathfinder Campaign

"The object of life is not to be on the side of the majority, but to escape finding oneself in the ranks of the insane." - Marcus Aurelius

 

Comments

  • Bortas
    Bortas
    Posts: 645

    I know there is a way, and I can't remember exactly how to do it, but it involves identifying a specific content and replacing it with a new content of your choice. I can't seem to quite get the right thing to go, but it should be something along the lines of:


    .wiki-page-name.title[title="Main Page"] {font-size: 0;}

    Sorry I didn't have more time to spend on this,

    -bort

  • DerkG
    DerkG
    Posts: 76

    That's what I thought, but that only works if the title attribute is set. And that's not the case. I don't think there is a way to select based on css content, so it would require something else being different between the main and other wiki pages. I have not been able to find it yet.

    GM: https://knights-of-the-realm-1.obsidianportal.com/ - a Greater Pendragon Campaign

    GM: https://sagaofthenorth..obsidianportal.com/ - a Dungeon World Campaign

    Player/Scribe: https://thepriceofimmortality.obsidianportal.com/ - a Pathfinder Campaign

    "The object of life is not to be on the side of the majority, but to escape finding oneself in the ranks of the insane." - Marcus Aurelius

     

  • cgregory
    cgregory
    Posts: 780

    I haven't seen any difference between the main wiki page and all other wiki pages. All the classes, ids and elements are the same as far as I can see.

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

  • Bortas
    Bortas
    Posts: 645

    Well there ya go - I must have been thinking of a different portion of the site.

    -bort

  • DerkG
    DerkG
    Posts: 76

    Yeah, I've been staring at it for an eternity but couldn't find anything either. So I guess I now have to contemplate manually replacing all the titles, instead. Doable, but not elegant.

    GM: https://knights-of-the-realm-1.obsidianportal.com/ - a Greater Pendragon Campaign

    GM: https://sagaofthenorth..obsidianportal.com/ - a Dungeon World Campaign

    Player/Scribe: https://thepriceofimmortality.obsidianportal.com/ - a Pathfinder Campaign

    "The object of life is not to be on the side of the majority, but to escape finding oneself in the ranks of the insane." - Marcus Aurelius

     

Sign In or Register to comment.

April 2024
Season of Strife

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions