"h4" header is not showing the underline on final webpage

Krothos
Krothos
edited February 2016 in Bug Reports
https://shattered-star-15.obsidianportal.com/wikis/house-rules

I have the titles of each section written as "h4. Characters", and the preview shows the title bold with the underline across the page, but the final webpage result is just larger font, not bold, with no underline. Is this a bug that can be looked into?

Comments

  • Basileus
    Basileus
    Posts: 589
    I don't know if "bug" is the right word, but the CSS applied to the preview window is not the same as that applied to the actual content.
  • weasel0
    weasel0
    Posts: 415
    When trying to get the Hx. to work right, it's one of two instances(maybe two) where using !important was required as OP has it's own definitions for the headers and they are amazingly difficult to find every single case.

    bq. /*Headers*/
    .campaign-link,h1,h2,h3,h4,h5,h6
    {color:red !important;}

    ...is what I use as my base everytime. At this point(2 years later), I am unable to say who helped with that but I'll willingly pass it along.
  • GamingMegaverse
    GamingMegaverse
    Posts: 2,913
    That was a Langy contribution if I recall...

    Just trying to help out.

  • Krothos
    Krothos
    Posts: 230 edited February 2016
    Thank you, but the code language provided above doesn't seem to be working either (probably not typing it correctly). Decided in meantime to use with instead.
    Post edited by Krothos on
  • weasel0
    weasel0
    Posts: 415 edited February 2016
    then you'll probably want to add

    font-weight: bold;

    to the header list.

    bq. h1 {color: whatever; font-weight: bold;}


    This, http://www.w3schools.com/tags/tag_hn.asp is an awesome place.
    Post edited by weasel0 on
Sign In or Register to comment.

Campaign of the Month
October 2021

Hogwarts and the Magic of the Founders


Read the feature post on the blog!
Or 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