-
AuthorPosts
-
November 20, 2014 at 1:29 pm #202919
Is it possible to put the logo into the Megamenu as the first item?
Thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 20, 2014 at 4:11 pm #555981It’s possible . . . It will take a bit of creative CSS modification.
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” within your Template Manager–General settings.November 20, 2014 at 5:56 pm #555992http://new.distrofia.net/ is the site
Optimize CSS is off
I’d like that the LOGO is place on the top-left corner like home item.
Thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 20, 2014 at 6:31 pm #555993Okay, first things first . . .
If you haven’t yet done so, create a new file called “custom.css” within file path –> /templates/purity_iii/css/
Within that custom.css file, paste the following CSS rules:
.t3-mainnav .t3-navbar {
padding-left: 200px;
}.logo {
text-align: left;
margin-top: -49px;
}SAVE CHANGES – CLEAR CACHE – REFRESH PAGE
Better ??
November 20, 2014 at 7:35 pm #555997I’ve already created the customs.css. Now with your modify the logo in not visibile because is under the navbar…
I’d like a logo and navbar like this http://www.oggi.it/ when you scroll down the page, the menu is fixed on top and the logo go to the top-left corner… is it too hard?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 20, 2014 at 7:40 pm #555999To get the logo to appear, try modifying as follows:
.t3-mainnav .t3-navbar {
padding-left: 200px;
}.logo {
text-align: left;
margin-top: -49px;
z-index: 999;
}November 20, 2014 at 8:17 pm #556002Thanks but not appear
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 20, 2014 at 8:24 pm #556004<em>@rudimessi 454096 wrote:</em><blockquote>Thanks but not appear</blockquote>
Do me a favor … delete the CSS above within your custom.css file (i.e. start over).
It was working when I tested it, so let me do it again so I can make sure I didn’t leave a step out.November 20, 2014 at 8:38 pm #556006ok now the custom.css is only
.t3-mainnav .t3-navbar {
padding-left: 200px;
}.logo {
text-align: left;
margin-top: -49px;
z-index: 999;
}TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 20, 2014 at 8:45 pm #556008No no, I mean delete the original CSS I suggested in Post #4 above.
November 20, 2014 at 8:59 pm #556009ok make it
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 20, 2014 at 9:12 pm #556010Okay, I know what I left out . . ..
So in your custom.css file, add the following:
.t3-mainnav .t3-navbar {
padding-left: 200px;
}.logo {
text-align: left;
margin-top: -49px;
z-index: 999;
}
and then modify the rule you have at line 27 as follows:
.t3-mainnav {
background: none repeat scroll 0 0 black;
border-bottom: 1px solid #000
border-top: 1px solid #000
z-index: 1;
}SAVE CHANGES – CLEAR CACHE – REFRESH PAGE
Did that work?
November 20, 2014 at 9:49 pm #556015yes now work but not menu
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 20, 2014 at 9:59 pm #556016<em>@rudimessi 454113 wrote:</em><blockquote>yes now work but not menu</blockquote>
Try this little modification with this CSS in your custom.css file . . .
.logo {
margin-top: -49px;
position: fixed;
text-align: left;
z-index: 999;
} -
AuthorPosts
This topic contains 17 replies, has 3 voices, and was last updated by Scott Lavelle 10 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum