Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Here is the CSS I used to reveal the word “Menu” to make it more clear. I had to readjust the border information to make it all come out right. I had help and I’m frankly not sure why it did the job. Maybe it will help you toward your goal.

    .menu-toggle {
    background: transparent;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    float: right;
    margin: 2.25em 1.5em 0 0;
    padding: 22px 0;
    position: absolute;
    top: 0;
    right: 0;
    height: 25px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    }

    .menu-toggle {
    color: #262626;
    }

    .menu-toggle,
    .menu-toggle:before,
    .menu-toggle:after {
    border-top: 4px solid #262626;
    }

    Thread Starter narrativeAlchemist

    (@narrativealchemist)

    Totally makes sense. I was thinking about the padding backwards, as something that might contain the border (larger numbers, smaller lines) instead of being the length of the lines.

    It’s all perfect! Thank-you so much for your help!

    -Dain

    Thread Starter narrativeAlchemist

    (@narrativealchemist)

    Wow! That’s great! I’m shocked at how simple the initial change is, just including all three of these: .menu-toggle, .menu-toggle:before, .menu-toggle:after makes all the difference.

    I’d prefer to have both the image and the text, and it’s very close. I’ve added the new header.php file (thank-you!) but have not hidden the border, then changed the padding on the toggle from 6px to 20px so that the text is visible under the image.

    Unfortunately, the result is that the menu image (the border) is now much wider than before. I can’t see why that would change. Can you?

    Thank-you!

    -Dain

    Thread Starter narrativeAlchemist

    (@narrativealchemist)

    Wonderful! Such a simple thing. When I added

    .site-main { padding: 0 1% 2% 0%; }

    that then eliminated the extra space on the top and bottom!

    Thank-you so much!

Viewing 4 replies - 1 through 4 (of 4 total)