Resolved

site branding size

Ultra Theme started by Vincent Mazo Sep 25, 2015 5 replies
Vincent Mazo Sep 25, 2015 · 12:25 pm #2395

Hello 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?

Andrew Misplon Puro Sep 25, 2015 · 12:40 pm #2396

Hi 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.

Vincent Mazo Sep 25, 2015 · 1:59 pm #2397

Thank 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 ?

Andrew Misplon Puro Sep 25, 2015 · 2:16 pm #2398

Apologies. 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.

eddisonfoster Apr 24, 2017 · 7:46 am #6379

Really, 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/.

Andrew Misplon Puro Apr 24, 2017 · 7:51 am #6380

Thanks 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.

6 posts