Change header image size (I found simple solution).
-
I watched many options in this forum, but none were what I wanted, so I thought it a bit with some other data, and the solution is simpler than I thought.
First I have Jetpack plugin and activated the box: CSS Custom (a very good option to avoid “child templates”). I don′t know if from “Theme Options” allows you to do the same (I hope so be it).
The code to enter is one that we have on line 631 of the stylesheet (style.css) template. The default is as follows:
#site-title img { margin: 38px 0; vertical-align: middle; }
We want to add the height and width of our banner. To do so we would simply add the width and height values in pixels:
#site-title img { margin: 38px 0; vertical-align: middle; height: 155px; width: 790px; }
My example:
https://misionesperanzaburgos.org/Each template has the option in different names.
Although this in pixels, if we change browser size image resizes itself. No problem.Greetings from Spain!
Pd .: I have the ‘Pinboard template’ in version 1.1.2 instead of 1.1.8 (not sure what changes did, and don′t know where to see them).
- The topic ‘Change header image size (I found simple solution).’ is closed to new replies.