Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1248049

    Hi There.

    I have added a Widget to the Header Area so as to display a Phone Number.
    It is positioned on the right hand side of the Header.
    And I also have the Social Icons displaying to the right of this.
    The Logo is set to display on the Left Hand side of the Header.

    I have added the following CSS:

    #header .widget {
    left: auto;
    right: 90px;
    padding-top: 47px;
    position: absolute;
    top: 0;
    transform: translate(-0%);
    z-index: 999999;
    font-size: 20px;
    font-weight: bold;
    }

    .main_menu {
    width: 100%;
    }
    #top nav .social_bookmarks {
    float: right;
    left: auto;
    width: 10%;
    }

    My problem is that I wish to “vertically” center the Header Widget text and keep it horizontally inline with the Social Icons.

    At the moment, I have just increased the top padding to bring it down, but of course, as the screen size becomes smaller, it moves out of alignment.

    I would also like the Header Widget and the Social Icons to shift under the Logo when viewing on a Mobile Phone, with the Burger Menu to the right.

    Is this possible?

    Regards
    Iain Kennedy

    #1248307

    Hey spottydog63,

    Thanks for the login details. Please try this CSS as well:

    @media only screen and (max-width: 767px) {
    #custom_html-3 {
      padding-top: 28px;
    }
    }

    Best regards,
    Rikard

    #1248321

    Hi Rikard.

    What is that css meant to do?
    I have added it, but nothing has changed
    And wouldn’t I need to change the existing css as well?

    Regards
    Iain

    #1248323

    The Burger menu still appears on the Left, and the Header Widget still misaligns on a smaller screen, and it overlaps the Logo.

    Regards
    Iain

    #1248329

    Sorry, my mistake.
    I added !important after the 28px, and the text now remains inline.

    However, the other parts of my question remain unchanged.

    ie. The phone number text overlaps the Logo, the social icon disappears, and the burger menu is on the left.

    Regards
    Iain

    #1248418

    Hi Iain,

    Best regards,
    Victoria

    #1248548

    How do I move the Burger Menu from the Left of screen to the Right of screen?

    Regards
    Iain

    #1248549

    Hi guys.

    Big problem.
    I’ve just noticed that the Burger Menu isn’t working.
    Any idea why?

    Regards
    Iain

    #1248554

    Hi guys.

    I’m going to close this.
    I’ve undone everything to revert to something that works, and just changed the Logo instead.
    Not ideal, but it serves it’s purpose for now.

    Regards
    Iain

    #1248616

    Hi spottydog63,

    Do you need more help on this issue or can we close it?

    Best regards,
    Victoria

    #1248724

    Hi Victoria.

    You can close it.
    I may have a crack at doing things differently later, but for now I’ll stick with what I have.

    Regards
    Iain

    #1248846

    Hi spottydog63,

    Ok :)

    We are closing the thread.

    If you need further assistance please let us know in a new one.

    Best regards,
    Victoria

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Header Widget’ is closed to new replies.