I am nut sure what is CSS selector in your case - img.header-logo or other but with correct CSS selector that rule should work.
And in "width" put the desired real width in pixels or % of parent block element width. This can be changed in responsive css rules for different screen sizes.
Posted3 weeks 9 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) in Meet-Ups and Events
Recent comments
It's not difficult to write JS code in an admin theme (without a module) that would save text from CKEditor to LocalStorage every X minutes and add a button to restore the text from LocalStorage...
Another contrib module came to my mind: Save & Edit.
Of course, that's also not what you had in mind - it saves to the server. But it can be helpful when the network the author's...
... Autosave module that you mentioned, but it saves to the database
I thought, that's what you're after.
I am looking for is to save to localStorage...
Thanks for your prompt reply.
I tried the Autosave module that you mentioned, but it saves to the database, and the behavior I am looking for is to save to localStorage, in other words,...
Hi lloyddunn,
the important thing is: don't mix up CKEditor "autosave" (client side) and node save.
Node save means, that the current form gets validated and saved to the Backdrop...
Comments
You're right, the logo doesn't display very big. Depending on the site, it's however a good fit, in my opinion. See an example of my test site:
If you want your logo bigger, you could override the corresponding CSS rules, e.g. from
core/themes/basis/css/component/header.css:.header-logo-tall img { width: auto; height: 100%; }and maybe also from
core/themes/basis/css/base.css:img { max-width: 100%; height: auto; }Yes, I fix it with the CSS injector module, but is it normal for the logo to look 60% smaller than the original?
Gracias.
I suppose you can add another CSS code:
img.header-logo { width: 200px; height: auto; }I am nut sure what is CSS selector in your case - img.header-logo or other but with correct CSS selector that rule should work.
And in "width" put the desired real width in pixels or % of parent block element width. This can be changed in responsive css rules for different screen sizes.