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.
I don't think there is currently a way to set back references in bulk for existing books that already reference an author...
I believe you can do this with CER through the UI...
Thanks. It still took a lot of trial and error for all the settings within the settings, but I eventually got it to display based on these instructions.
Another easy way to do this is to use the module Corresponding Entity References (cer). You would need to add an entity reference field in the authors content type pointing at the book, then set...
Posted2 days 13 hours ago by Alejandro Cremaschi (argiepiano) on:
I also found the contextual filter area in the view for this block. But that’s where it stops.
I'll try my best - views based on entity reference can be a challenge....
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.