Headers and center align not working?

Vishera
Vishera
edited March 2015 in Campaign Portal Building
I tried to use the Headers but they literally print out as "h1. " rather than just applying the header. Also how do you align text?

Comments

  • Unknown
    For the headers you need to make sure there is no space between the 1 and the . in there, so it should read:

    @h1. Header@

    If you want to align the Header to the center, that is done like this:

    @h1=. Header@

    Alternately you could setup the header with the standard HTML method and handle the alignment via a style attribute. If you are running an Ascendant account you could set some special rules up in your CSS. Finally, you can check out the "Textile Reference":http://redcloth.org/hobix.com/textile/ page (a link for this was in the original Wiki page that comes on the campaign, I believe, but you can use my link in here too -- I actually setup a link on my own site in some of my menus for quick access).

    --
    Alex
    "Dragon Age: Requiem":https://dragon-age-requiem.obsidianportal.com/
  • Vishera
    Vishera
    Posts: 40
    it works but the text displays as white by default. I have no custom CSS being used either.

  • Unknown
    I forget which one of the color palettes in your Settings controls the header color, but it is likely due to one of those being set to white. You could adjust that, or if you are on Ascendant you could add this to your custom CSS section:

    h1,h2,h3,h4,h5 {
    color:black; /* REPLACE BLACK WITH WHATEVER COLOR YOU WANT */
    }

    If that doesn't do the trick for you then adjust the code to this:

    h1,h2,h3,h4,h5 {
    color:black !important; /* REPLACE BLACK WITH WHATEVER COLOR YOU WANT */
    }

    --
    Alex
    "Dragon Age: Requiem":https://dragon-age-requiem.obsidianportal.com/
  • Vishera
    Vishera
    Posts: 40
    that worked thanks!

  • Unknown
    Not a problem at all, if you need any other tips or tricks don't hesitate to reach out, I am happy to help out when I am able to do so.

    --
    Alex
    "Dragon Age: Requiem":https://dragon-age-requiem.obsidianportal.com/
  • Vishera
    Vishera
    Posts: 40
    if anything else pops up Ill let ya know!

  • Vishera
    Vishera
    Posts: 40
    I do like how your text boxes are old parchent paper.. I may want to figure that one out. I think it would look good on my Tyranny of Dragons page ;)

  • Unknown
    I would be happy to help you get that setup. We would need to do a little back and forth to hammer out just what areas you want the parchment effect on and I can cobble up some code specific for you based on what I have (created by Ikabodo actually with my own minor tweaks specific to my page). Alternately you could invite me to the Campaign and promote me to GM and I could toss the code in for you (I have done this for others before as well to get that setup on their pages). However you would prefer to approach things I am fine with.

    --
    Alex
    "Dragon Age: Requiem":https://dragon-age-requiem.obsidianportal.com/
  • Vishera
    Vishera
    Posts: 40
    I would need your email to invite you

  • Vishera
    Vishera
    Posts: 40
    n/m didnt realize you can use OP names. invite sent

  • Unknown
    Sounds good, invite accepted and PM sent to hammer out some details.

    --
    Alex
    "Dragon Age: Requiem":https://dragon-age-requiem.obsidianportal.com/
  • Bortas
    Bortas
    Posts: 645
    I love this community.
  • Unknown
    We all deserve to have nice pages with the effort we put into them :)
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