- This topic has 5 replies, 3 voices, and was last updated 7 years, 7 months ago by Andrew Misplon.
Tagged: logo logo constraint ultra
- AuthorPosts
- September 25, 2015 at 12:25 pm #2395
Vincent MazoParticipantHello again,
I’d like to set the site branding a litte bit bigger than the 92px limit i’ve found in the the documentation.
I went to the css file and set it to 200px without effect… the header is already set to 200px.Did I miss something?
September 25, 2015 at 12:40 pm #2396
Andrew MisplonKeymasterHi Vincent
A quick reminder; all WordPress.org themes completely overwrite their own folder during theme updates. Changing any files via Appearance > Editor is to be avoided. Any changes there will be lost if you ever run a theme update.
Appearance > Custom CSS using a Custom CSS plugin is a safe way to add CSS snippets.
Try this change at Appearance > Custom CSS. Insert the following:
/* Header */ .site-header .site-branding img { max-height: 92px; }
Adjust as required.
September 25, 2015 at 1:59 pm #2397
Vincent MazoParticipantThank you for your help, but that code doesn’t work either 😉
Annyway, I’ve managed to set the image size:
I went to the Custom CSS preview and manage to change the width of the logo like this:
.site-header .site-branding-container .site-branding img { max-height: 200px; }
I think I finally understood the structure of the css
Just to be sure, the modifications in the Custom CSS overwritte the theme settings ?
September 25, 2015 at 2:16 pm #2398
Andrew MisplonKeymasterApologies. Glad to see you found the correct selector.
Custom CSS comes after the theme’s stylesheet so it takes precedence, effectively overwriting the rule in question.
April 24, 2017 at 7:46 am #6379
eddisonfosterParticipantReally, does it means you need to check all your input first including the CSS coding before you submit? Instead of submitting, you have to preview first, otherwise a consequences can be like this hard to change data? I am planning to include tagline within the brand name logo, but for not so expert in this like me, I perhaps need to do this in many scratches and preview or perhaps save a lot, but the system looks like only recognize the initial save data. The tagline that I will be using were from this resource http://eatmywords.com/services/taglines/.
April 24, 2017 at 7:51 am #6380
Andrew MisplonKeymasterThanks for posting. Each situation is a little different so we try work one support topic per user per question. Please, open a new thread and I’ll be happy to help and find a resolution. I’ll be online in a couple of hours. Thanks.
- AuthorPosts
You must be logged in to reply to this topic.