Home › Forums › Business Club › Custom logo in child theme
- This topic is empty.
-
AuthorPosts
-
March 4, 2017 at 5:21 am #490
Anonymous
InactiveTeam, please help
How to add bigger logo in your theme? For ex. with width 500 and height 95. What code should I add to php files?
Thank you in advance
March 4, 2017 at 2:26 pm #493Axle Support
ModeratorHello,
Please add the below given CSS to
Dashboard -> Appearance -> Customize -> Additional CSS
.custom-logo-link { max-width: 150px; }
You can customize the value of the width accordingly.
Also after you increase the logo size the menu indentation might differ so, add the below given CSS too
#main-nav { margin: 20px 0px; }
Adjust the margin value, ( currently 20px ) according to your logo size and leave the second margin value ( currently 0px ) as it is.
Hope you understand.
Regards.March 6, 2017 at 2:45 pm #501Anonymous
InactiveThank you for help!
I have additional question: is it possible to delete all navigation tools, site title and tagline from menu?
How to find in the code size of main menu? How to match logo size and menu in a smart way?March 6, 2017 at 3:03 pm #502Anonymous
InactiveAfter setting logo (200×80) I found out such problem. Could you please advise how to resolve an issue?
March 6, 2017 at 4:36 pm #503Axle Support
ModeratorHello,
We have found out that you have wrote some extra custom CSS and may also have altered the style.css file, which you are not supposed to as any change on the theme file directly will be lost after theme update, we recommend you to override it with custom CSS or child theme.
Make sure you remove the CSS you wrote on the theme file directly or any other custom CSS that your wrote for Custom logo section and the CSS we provide earlier will work.
Regards.
March 7, 2017 at 1:40 pm #505Anonymous
InactiveThank you! You were right, I had to change style.css.
Is it possible to put logo 70 pxx left adding to
.custom-logo-link {
max-width: 150px;
margin-left: -70px;
}How to apply margin only to notebook view only? On the phone view it will work incorrectly.
March 8, 2017 at 5:19 am #512Axle Support
ModeratorHello.
Please add the below given CSS to
Dashboard -> Appearance -> Customize -> Additional CSS@media only screen and (min-width: 767px){ .site-branding { margin-left: -50px; } }
Hope it helps.
Regards.March 8, 2017 at 9:31 am #513Anonymous
InactiveYes, it helps. Thank you so much. After my first client I will make donation for you, guys.
March 13, 2017 at 7:52 am #529Axle Support
ModeratorHello,
Thank you for the appreciation.Also could you also help to rate our theme on wordpress.org repo at https://wordpress.org/support/theme/business-club/reviews/#new-post
That would be great.
Regards.April 13, 2017 at 9:41 am #581Anonymous
InactiveHi, i try to do the same. But if i want to add my logo file i need to crop it to 95×95. What i’m doing wrong?
Regards
-
AuthorPosts
- The topic ‘Custom logo in child theme’ is closed to new replies.