-
AuthorPosts
-
June 19, 2013 at 12:03 pm #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 ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
June 19, 2013 at 4:27 pm #496287Can 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.June 19, 2013 at 6:47 pm #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
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
June 20, 2013 at 4:43 pm #496409I 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
1 user says Thank You to Ninja Lead for this useful post
June 21, 2013 at 8:39 am #496467It 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>
June 21, 2013 at 9:24 am #496478Can you tell me the meaning of the second “120px” ?
Because I can’t realize what it is related to….thank you so much!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
June 21, 2013 at 9:39 pm #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;
- top padding is 10px
- right padding is 5px
- bottom padding is 15px
- left padding is 20px
AuthorPostsViewing 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
How to move the logo
Viewing 7 posts - 1 through 7 (of 7 total)