• Hi,

    I’m trying to spiff up this site: http://ramen-empire.com/ – using InkBlot theme with Webcomic plugin. Love both. =)

    When I do this:

    main, #sidebar1, #sidebar2 {
    	border:1px solid;
    	border-radius:15px;
    	margin-right:2px;
    	margin-left:2px;
    	margin-top: 0;
    	margin-bottom: 0;
    }

    Then sidebar1 vanishes. (Sidebar2 is empty right now, so maybe it does, too.)

    (I have the code commented out right now. I think you can see what I mean with F12 in Chrome, though.)

    What I want is a border around main and both sidebars that neither hugs the text or the wall of the page. I can’t quite put my finger on why it’s behaving this way.

    Thanks for any help you all might offer!

    Bart

Viewing 4 replies - 16 through 19 (of 19 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Is it worth my time to go through the theme’s php files and just rename “main”?

    Sorry, why do you need to rename “main”?

    Thread Starter bklick

    (@bklick)

    I don’t think I do. I’m trying to ask if having this element named “main” is a problem that might mess things up later. I have very little understanding of HTML, let alone HTML5. 🙂

    Thread Starter bklick

    (@bklick)

    Ahhh! Hooray! That worked! You are good people, and deserve to feel good.

    Thread Starter bklick

    (@bklick)

    Well, sort of worked. Now I have other weird problems. XD

Viewing 4 replies - 16 through 19 (of 19 total)

The topic ‘Adding Margin Moves Element and Dumps Content’ is closed to new replies.