CSS Help

kettle
kettle
edited October 2012 in Campaign Portal Building
Hello everyone,

I am working on my next campaign "Rise of the Dead":http://www.obsidianportal.com/campaigns/rise-of-the-dead and am having trouble with some CSS formatting.

I am currently using this code to make the Content area black.

#content {background-color:black;border-style:none;}

The problem is, the Black background limits the Dynamic Character sheets I can use. I need some CSS code that make the Indivdual Character's have a white background. To clarify, the main Character Tab still needs to be black, but when you click on a specific character, I want that character's Background to be white. "Here":http://www.obsidianportal.com/campaigns/rise-of-the-dead/characters/test is an example of a test character.

Thank you in advance for all your help. This is a great community.

Thank you,

Kettle

Comments

  • wolfhound
    wolfhound
    Posts: 354
    Try this

    #campaign-content .character-page .dynamic_sheet_container {background-color:white;}
  • kettle
    kettle
    Posts: 72
    Perfect. Thanks for your help.

    Kettle
  • kettle
    kettle
    Posts: 72
    One more question. I don't know if there is a way around this but when I use #content {background-color:black;border-style:none;}, then all my edit pages also have a black background. When trying to use Savage Patrick's savage worlds dynamic sheet, I cannot edit the sheet because the text and background is both black.

    So the question is, how do I change the background color for the edit pages or how do I change the font to white for the edit pages.

    Thanks again for the help as I am still new to CSS.

    Kettle
  • wolfhound
    wolfhound
    Posts: 354
    If you follow my "Free CSS Templates":http://forums.obsidianportal.com/comments.php?DiscussionID=2779&page=1#Item_6 thread on this subforum you might be able to get a head start there.

    Specifically what you're going for, you may be able to paste in my "black & red template":http://www.obsidianportal.com/campaigns/free-template-simple-black-red directly and save yourself some headache (then after you paste in my template, paste in the above modification to get your white backgrounds again.
  • kettle
    kettle
    Posts: 72
    wolfhound you rock! i don't know what was wrong with my code, but your were right. By working backwards from your CSS template I was able to get it to work. Thanks again for your excellent help.

    Kettle
Sign In or Register to comment.

May 2024
The World of Elurah

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