A link to the failing site is worth a thousand words …
Thread Starter
halfer
(@halfer)
Well, the site may be po russki, but it’s still good, old HTML under the hood.
I used Firefox/Firebug to poke around the front page’s HTML/CSS. No offense, but the header area has some seriously confused layout. If I were working on this site, the first thing I would do is rework the header section both relative to itself and relative to the main page wrapper.
Thread Starter
halfer
(@halfer)
Then I just don’t know what to do) I used the official “change logo” function in the console. The only thing i changed (besides adding the slideshow) is that I deleted the upper blank section through the CSS
#site-title{padding:0em 0 0.0em 0;}
I went back and saw that you are using the Mystique theme. Then I went to the Mystique Live Demo and looked at what their header code looks like compared to yours. There are differences.
Suggestions:
- Create a minimal header from the original Mystique code.
- Add/change one thing at a time and the do a hard refresh to see what it looks like.
- Lose the H1 around the
img. It doesn’t add anything of value and it brings irrelevant CSS into play.
- Pay attention to your image sizes. The one you have in the header is 1263px wide, which is *huge*. Most themes are designed to be used at somewhere around 900-960px wide, which means everything inside the theme boundary needs to be smaller than that. Mystique looks like it uses 940px.
- Once all of that is done, *now* you can add your slide show.
- By the way, be careful with position relative/absolute. They can be useful, but you need to understand how they work. It is easy to abuse these and then have them do weird things to your page.
Thread Starter
halfer
(@halfer)
Thanks for the advice! But there’s a problem. From what I understand, 960px wide image will take only 2/3 of the space, and I need it to be streched all over the place. The original background image is 1300px. I’m thinking of getting the logo much more small in height and installing it as a background on the top.
Thread Starter
halfer
(@halfer)
I deleted the logo and it looks nice for me. Also, with the help of FireBug I finally could add a blank space between the slide show and the menu.
Thanks for all your help!
1300px? Where did that number come from? I did a quick scan of your CSS and home page and didn’t see anything like that.
Thread Starter
halfer
(@halfer)
That’s because I didn’t have a background.