Trying to change the size of header in the Modularity Lite theme
-
I was wondering if someone can help me out. When I was originally using the “neat” theme I was able to change the header image size with the CSS, but ever since I’ve been using the ” Modularity Lite” theme I have been unable to do this.
My preferred size would be 950×300 so if someone could help out it would be greatly appreciated.
My blog is http://www.overdrive-mag.com
The blog I need help with is: (visible only to logged in users)
-
What you will have to do is go back to appearance > header, remove the header image and then put the following in our CSS. Upload the 950px x 300px image to the media library, get the URL of that image and then replace URL OF IMAGE between the double quote marks in the background declaration below.
#header-image { background: url("URL OF IMAGE") no-repeat scroll 0 0 transparent; height: 300px; } -
-
-
The CCS header won’t work when I select remove the header image and if I use a header they over lap
-
Also, if you are using the CSS preview, always refresh the preview page if some change does not show up. It has been a little flakey the last several months.
-
-
-
I’m not sure what wasn’t working for you as I did what I originally said in my test blog and it worked just fine, but I’ll take care of it in the CSS instead. Add the following to the bottom of your CSS in the CSS edit window.
#header-image { background: url("http://i1193.photobucket.com/albums/aa342/overdrivemag/jbyu.jpg") no-repeat scroll 0 0 transparent; height: 300px; } #header-image img { display: none; } -
-
- The topic ‘Trying to change the size of header in the Modularity Lite theme’ is closed to new replies.
