Header Widget – Align Right

Community Forums Forums Design Tips and Tricks Header Widget – Align Right

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  braddalton 7 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #78935

    ellenstevens
    Participant
    Post count: 32

    Using: Modern Portfolio

    I’m having trouble getting the header widget to align right. Does anyone have any idea where this might be fixed?

    http://www.ellenstevens.com/test

    thanks!

    http://www.ellenstevens.com/test
    #78940

    braddalton
    Participant
    Post count: 8880

    You can modify this code in your child themes style.css file to position your header widget:
    [css]
    .site-header .widget-area {
    float: right;
    padding-right: 40px;
    padding-right: 4rem;
    text-align: right;
    width: 800px;
    }
    [/css]


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #78947

    ellenstevens
    Participant
    Post count: 32

    Thanks! That fixed the right alignment. Now, how do I get it to align vertically? I’ve added: vertical-align: top, but that doesn’t seem to work.

    Any tips?

    #78955

    braddalton
    Participant
    Post count: 8880

    Add padding-top or padding-bottom.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

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

You must be logged in to reply to this topic.