Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • banepa Friend
    #197834

    Currently the Logo and the navigation bars are in two different rows.
    ja-header
    ja-mainnav

    I need to change the layout.
    I need Logo on the left and the navigation bar on the right on the same line.

    What is the easiest way to achieve this?
    Which file(s) should I modify to achieve this?

    If you look at JA Decor or JA Biz you will see the logo on the left and the navigation menu on the right on the “same line”.

    Any suggestions?

    Thanks

    TomC Moderator
    #535467

    So that we can try to best assist you, please provide the url of the site you’re working on,
    as well as temporarily set “Optimize CSS” to “Off/No” within your Template Manager–General settings

    Ninja Lead Moderator
    #535530

    @banepa: Please try with workaround below.

    Open the templates/ja_zite/css/template.css file

    Change

    h1.logo {
    float: none;
    height: 80px;
    margin: 0 auto;
    width: 92px;
    }

    To

    h1.logo {
    float: left;
    height: 80px;
    margin: 0 auto;
    width: 92px;
    position: absolute;
    top: 0px;
    }

    Once done, clear cache from admin area.

    banepa Friend
    #535561

    Thanks @ninja Lead…your solution pulled the Logo and navigation in the same level.

    Only one issue….
    The image gets buried behind the nav (NAVIGATION) when viewing in smaller window of mobile device.

    Any suggestion will be appreciated.

    Thanks in advance.

    TomC Moderator
    #535586

    As I had mentioned previously, it would be very helpful to be able to view your particular issue online . . .
    hence the need for the url of the site you’re working on.

    banepa Friend
    #535605

    Tom, I sent you my URL in PM.

    Thanks

    TomC Moderator
    #535719

    Okay, so if I am understanding you correctly, you want your logo and main nav menu to be on the same line/plane – similar to the two templates you originally linked as examples. If this is still the case, then perhaps you can try the following:

    Within file path —> /templates/ja_zite/css/template.css
    at line 738, modify the following CSS rule as follows:


    #ja-mainnav #ja-megamenu {
    float: right;
    position: relative;
    right: 10%;
    }

    Then, at line 699, modify as follows:


    h1.logo {
    float: left;
    height: 10px;
    margin: 0 auto;
    width: 300px;
    }

    SAVE CHANGES – CLEAR CACHE – REFRESH PAGE

    Better?

    banepa Friend
    #535750

    Thanks Tom.

    Your solution moves the navigation to the right as I wanted.
    Ninja Lead’s solution moves the logo to the same horizontal level as the navigation bar as I wanted.
    Thanks to both of you.

    However, one problem still remains.
    In a regular computer browser it’s fine.
    In a mobile phone the logo goes behind the “NAVIGATION” block.

    Is there a fix for this in the mobile version?
    Is there a CSS fix just for mobile perhaps?

    Ninja Lead Moderator
    #535785

    Regarding the logo behind the “NAVIGATION” block, please open the templates/ja_zite/css/layout-mobile.css file and add new rule below:


    h1.logo {
    top: -30px;
    left: 10%;
    }

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

This topic contains 9 replies, has 3 voices, and was last updated by  Ninja Lead 10 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum