- This topic has 19 replies, 3 voices, and was last updated 12 years, 5 months ago by
shanewasik.
-
AuthorPosts
-
April 9, 2013 at 11:34 pm #6687
shanewasik
MemberHiya,
Great theme so far, considering the pro version to enable a responsive layout. Wasn’t sure how much this would effect the content though if I’ve added customised info.
Anyway, I’ve uploaded a custom logo and reduced the header margin at the top of the page which is great but I can’t seem to find the code to reduce the margin between the bottom of the logo and the top of the meu bar. Any advice on finding that?
The site is http://www.baskingsharkscotland.co.uk
Thanks
Shane
Thanks
ShaneApril 10, 2013 at 1:53 am #6697Sakin
Keymaster@shanewasik: Just add the following css in “Custom CSS” box in Theme Options panel. Reduce the margin as per your need.
#header #mainmenu { margin-top: 40px }
April 10, 2013 at 1:58 am #6698shanewasik
MemberHi Sakin,
Thanks mate, I think I changed this in the main code to reduce between the top of the logo and top of the page which reduced down nicely.
Will this work for the bottom of the logo and button bar? I was looking for margin-bottom or something similar if that exists?
Thanks
Shane
April 10, 2013 at 2:01 am #6699Sakin
Keymasteryes use that in “Custom CSS” box in Theme options. If you add the following
#header #mainmenu { margin-top: 20px }
It will reduce the space between the header image and navigation by 20pxApril 10, 2013 at 8:24 pm #6738ahhthesimplelife.com
MemberHi,
I have the same problem (too much space between logo and tab bar).
Right now I have this code:
#header #mainmenu { margin-top: 1px }
and it still looks like too much space.
See my home page: http://www.ahhthesimplelife.com/
Many thanks!
April 10, 2013 at 8:53 pm #6740shanewasik
MemberYep same, issue as me, I added the code in the custom box but it didn’t work. I do have some other code in there though, not sure how much difference that makes?
Shane
April 11, 2013 at 1:13 am #6760Sakin
Keymaster@ahhthesimplelife.com: I just check in your site and looks like you have modified css. Just update your theme to latest version 2.3.2 which will remove the edits that you have done is style.css and it will be fixed.
Please don’t edit any theme code file for any css customization we need to add in “Custom CSS” box in Theme Options panel or in Child Theme.
April 11, 2013 at 8:06 pm #6815ahhthesimplelife.com
MemberHi Sakin,
I really do not want to upgrade my theme as it will destroy my customizations.
Any other suggestions?
Thanks,
Carol
April 12, 2013 at 2:10 am #6841Sakin
Keymaster@ahhthesimplelife.com: That is why don’t edit in your theme core files. If you want to edit css then use Custom CSS box and for functions build child theme and edit there.
April 12, 2013 at 8:15 am #6856ahhthesimplelife.com
MemberSorry, but I don’t think you understand
I did put that code in the Custom CSS box and it made no difference
(just as you advised Shane)Here is the code:
#header #mainmenu { margin-top: 40px }
Here is my blog:
http://www.ahhthesimplelife.com/Also, I would love to be able to center the Tagline under the logo.
Many Thanks,
CarolApril 12, 2013 at 10:42 am #6870Sakin
Keymaster@ahhthesimplelife.com: Hello Carol, the main problem of your site in due to the Site Tagline too long and it makes your right side section to come down. This increases the space. So, either reduce the tagline or add the following CSS in your “Custom CSS” box in Theme Options panel.
#site-details { clear: both; }
h2#site-description { max-width: 340px; text-align: center; }
April 12, 2013 at 12:40 pm #6879shanewasik
MemberHi Guys,
It didn’t work for me either – can you help Sakin?
This is what is in my Custom CSS box
Thanks
Shane
h1#site-title a img {
float: left;
height: 304px;
max-height: 185px;
padding-right: 0px;
width: 550px;
}
h1#site-title {
background: url(“http://baskingsharkscotland.co.uk/wp-content/uploads/2013/04/BSShoriz_web.png”) no-repeat scroll 0
#header #mainmenu { margin-top: 1px }
April 12, 2013 at 5:59 pm #6891ahhthesimplelife.com
MemberHi Sakin and Shane,
Sakin, thanks for your quick response.
Shane, thanks for your posts.
Here’s what mine looks like now: http://www.ahhthesimplelife.com/
Much, much better!
Code:
#header #mainmenu { margin-top: 40px }
#site-details { clear: both; }
h2#site-description { max-width: 340px; text-align: center; }
April 12, 2013 at 6:10 pm #6893Sakin
KeymasterHello @shanewasik and @ahhthesimplelife.com : Now I am confused because of two communicating together. Can you have separate forum thread or communicate one by one. or can you list what each of you want. Sorry I am lost.
April 12, 2013 at 6:28 pm #6898ahhthesimplelife.com
MemberSorry for the confusion. I am all set for now.
Kind Regards,
Carol
April 12, 2013 at 7:53 pm #6903shanewasik
MemberHi Sakin,
Still the same issue for me, looking to get the space between the menu bar and logo smaller. The code you advised didn’t work in the Custom CSS box.
This is what code I have.
Thanks again for your help
h1#site-title a img {
float: left;
height: 304px;
max-height: 185px;
padding-right: 0px;
width: 550px;
}
h1#site-title {
background: url(“http://baskingsharkscotland.co.uk/wp-content/uploads/2013/04/BSShoriz_web.png” no-repeat scroll 0#header #mainmenu { margin-top: 1px }
April 13, 2013 at 12:53 am #6920Sakin
KeymasterTo reduce the margin between the bottom of the logo and the top of the menu bar. Add the following CSS in “Custom CSs” box in Theme Options panel. Adjust the margin top as per you need in site http://baskingsharkscotland.co.uk/
#header #mainmenu { margin-top: 10px; }
April 13, 2013 at 9:22 pm #6973shanewasik
MemberThanks Sakin, I had tried it a few times but it didn’t work. However I placed it at the beginning of the Custom CSS box and now works fine. Thank you very much for your help.
Would you have any advice on getting the search box further down towards the menu bar, along with the social media buttons, with the logo moving down they seems to be a bit far up the page.
I saw from your previous posts that you suggest not to alter the theme code but add any alterations into the custom CSS box.
Thanks
Shane
April 14, 2013 at 12:45 am #6984Sakin
Keymaster@shanewasik: Yes, just add the following CSS in “Custom CSS” box in Theme options panel. You can increase the margin top.
#header .social-search { margin-top: 100px; }
April 19, 2013 at 2:51 am #7293shanewasik
MemberThanks for all your help.
Shane
-
AuthorPosts
- The topic ‘Margin Between Logo and Tab Bar’ is closed to new replies.