Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #28897

    Hi Guys,

    I wonder if anyone could help.

    I would like my main menu to span the full width of the webpage (960px) within all different sized browsers.

    The problem i have is that the padding between the links seem to change depending on what size monitor i view it in. Ideally i would like “Contact Us” to be level with the end of the London number within any size monitor.

    If anyone could help it would be greatly appreciated. Please find the link to my development server below.

    http://uprisetestdomain.co.uk/paramount/

    Thanks in advance,

    Jyles

    #139059

    Hi guys,

    Any help with this would so appreciated.

    Kind Regards,

    Jyles

    #139060

    Hi Jyles,

    Our forums go by oldest post within a topic to newest so each time you self respond it actually pushes your topic to the end of our queue and not the start of it.

    For your issue, what you would need to do is a bit complicated if you aren’t used to media queries. You can use media queries to change the margin-right on your numberbox class so that as the theme responds to the browsers width the margin changes.

    See: http://css-tricks.com/css-media-queries/

    To get you started this would be for the very largest screen size adjustment (all screens above 1650px wide):

    @media screen and (min-width: 1650px){
    .numbersbox { margin-right: 67px; }
    }

    Regards,

    Devin

    #139061

    HI Devin,

    Thanks for your reply, i am familiar with media queries but i really am not sure what is going on with the navigation, all i need it the main menu to run the full width of the page within all sized browsers. Could you take a look at the code and see where i am going wrong?

    #139062

    You’ve added some media queries at the end of the theme’s layout.css. This block specifically is changing the menu at min-width: 1650px:

    .main_menu ul:first-child > li > a{
    display:block;
    text-decoration: none;
    padding: 0 0px 0px 41px;
    font-weight: normal;
    font-size:12px;
    font-weight: 600;
    font-size: 13px;
    background-image: url('http://uprisetestdomain.co.uk/paramount/wp-content/uploads/2013/06/bullet.png');
    background-repeat: no-repeat;
    background-position: 18px 12px;
    }

    Its very bad practice to modify the theme’s css files directly. Instead you should only edit the custom.css file or add your css into the Quick CSS field in the theme’s Styling tab.

    #139063

    Hi Devin,

    Sorry for the late reply, i really appreciate your time for such a stupid request. I have reinserted the original menu CSS so all i need to know now is how to have my menu items span the full width of the page so “Contact Us” is beneath the phone numbers on the far right?

    Thanks in advance (again)

    #139064

    Looks like its already set to the far right on my end.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Same Main Menu Position Within All Screen Sizes’ is closed to new replies.