test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • bmbsoluzioni Friend
    #188330

    Hi everyone,

    I’ve inserted one image in position “social” and the main-inner4 goes down.
    In order to move logo in the same line with the inner4 (menù bar), I edited the css..adding “padding: 120px;” at voice h1.logo and it works.

    Unfortunately now the second voice of the main menù didn’t work anymore.

    Is there a better code to insert in order to allign the logo with menù bar? Or a better position than “social” for the image in a way to not give any problem?

    Thank you in advance, I’m looking forward to hearing from you.

    Sincerly

    Franco Marinari

    TomC Moderator
    #496287

    Can you, perhaps, provide a screenshot mock-up of how the logo is supposed to line up with the main menu and such?
    It will help to see what you’re wanting to accomplish – so as to try to provide you with the correct recommendation.

    bmbsoluzioni Friend
    #496307

    <em>@TomC 377306 wrote:</em><blockquote>Can you, perhaps, provide a screenshot mock-up of how the logo is supposed to line up with the main menu and such?
    It will help to see what you’re wanting to accomplish – so as to try to provide you with the correct recommendation.</blockquote>

    Here is the image… logo and menu have the correct allignement but the second menu item (“i nostri prodotti”) is unselectable…moreover if I try to disable that voice, the next one become unserviceable like the one before…. it’s something linked to the logo image in my opinion..

    Any suggestions? tnx


    1. Cattura
    Ninja Lead Moderator
    #496409

    I fixed the problem overlap css style the logo with main menu on your site

    Open templates/ja_mers/css/template.css file

    From

    h1.logo a {
    background: url(../images/logo.png) no-repeat left;
    display: block;
    width: 120px;
    height: 120px;
    padding: 120px;
    }

    change to


    h1.logo a {
    background: url(../images/logo.png) no-repeat left;
    display: block;
    width: 120px;
    height: 120px;
    padding: 120px 0px 120px 0px;
    }

    Please check it again let me know if it helps

    bmbsoluzioni Friend
    #496467

    It works! Thank you so much!!

    <em>@Ninja Lead 377467 wrote:</em><blockquote>I fixed the problem overlap css style the logo with main menu on your site

    Open templates/ja_mers/css/template.css file

    From

    h1.logo a {
    background: url(../images/logo.png) no-repeat left;
    display: block;
    width: 120px;
    height: 120px;
    padding: 120px;
    }

    change to


    h1.logo a {
    background: url(../images/logo.png) no-repeat left;
    display: block;
    width: 120px;
    height: 120px;
    padding: 120px 0px 120px 0px;
    }

    Please check it again let me know if it helps</blockquote>

    bmbsoluzioni Friend
    #496478

    Can you tell me the meaning of the second “120px” ?

    Because I can’t realize what it is related to….thank you so much!

    TomC Moderator
    #496530

    <em>@bmbsoluzioni 377553 wrote:</em><blockquote>Can you tell me the meaning of the second “120px” ?

    Because I can’t realize what it is related to….thank you so much!</blockquote>

    The padding shorthand property sets all the padding properties in one declaration.
    This property can have from one to four values.


    For example:

    • padding:10px 5px 15px 20px;
      1. top padding is 10px
      2. right padding is 5px
      3. bottom padding is 15px
      4. left padding is 20px
Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 3 voices, and was last updated by  TomC 11 years, 6 months ago.

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