Have a image placed in header

Permalink
I think it´s quite simply for those having expirience: I have a short jpg which I want to place on the right side of the header in the green salad theme. I used the "New Header Nav Block" function and it worked so far, except I cannot get the correct scaling and position. It seems the blocks are fixed positioned. See attached how it is and how it should be. Playing with main.css and header.php did not effect. Is there another way to realize? Be aware my skill is not that high.

2 Attachments

 
DonRonito replied on at Permalink Reply
Hi!

the margins or padding in the header is probably set in the CSS of the template, and can not be edited by editing the inner div, unless you use -margins (margin: -20px; for an example). If you have a URL to you site I can have a quick look and work out a solution for you :).
intruderz03 replied on at Permalink Reply
Thank you very much for your reply. You can goto frajo.de.tf user kita and pass drkdrk will give you access. Let me know where to donate ;-)
DonRonito replied on at Permalink Reply 1 Attachment
As you can see on the attached screen, there is padding on the header. The easiest solution to solve this is to edit the values of the two CSS classes shown in the attached picture to the values that are shown. that removes the 15px padding, and places the header content to the bottom right.
intruderz03 replied on at Permalink Reply
I tried to change some of these figures before. Anyhow, after I set it to the values you suggested, chose another theme and went back to salad green to flush the cache and memory, I still have all the same results. Is there any reinitialization or something similiar required? I am just before reinstalling the whole prog with the modified theme and set up all from scratch.
intruderz03 replied on at Permalink Reply
That´s it!
Do not only modify the main.css in the themes directory. If there has been done an update before you must also modify the /update/concrete5/themes/main.css file I didn´t know that, so changed did not effect the page at all before. Again thank you for your help! I believe this happens more often to users as I have found some forum entries with the same issue.
DonRonito replied on at Permalink Reply
As long as you use Firebug plugin for Firefox, or the inspector in Chrome, you will easily find the CSS affecting the site elements. If no changes happen on site, the wrong file has been edited, or is present some other place.

Good it worked out for you :).