Add blocks to existing header
Permalink
HELP! I have been asked to add three image blocks to an existing header. I have looked all over and can't find the answer, so I'm hoping someone here can help.
Can someone explain the easiest way to do this please.
Can someone explain the easiest way to do this please.
Forgive my newbie-ness. I have three images in the header. They're profile pictures of employees. The center one needs to stay the same and the ones on each side need to rotate with the different images of the employees.
I need a slideshow block on either side of the center image, however I can't seem to edit the header except thru html. Would be so much easier if I could just add slideshow blocks on either side, but I just cant figure out how to add those blocks to an existing header.
I need a slideshow block on either side of the center image, however I can't seem to edit the header except thru html. Would be so much easier if I could just add slideshow blocks on either side, but I just cant figure out how to add those blocks to an existing header.
Something like this in your header.php file
And something like this in your style.css file
<section id="header-area-container"> <div id="headleft"><?php $a = new Area('box1'); $a->display($c); ?></div> <div id="headmid"><?php $a = new Area('box2'); $a->display($c); ?></div> <div id="headright"><?php $a = new Area('box3'); $a->display($c); ?></div> </section>
And something like this in your style.css file
#header-area-container { margin:0; overflow:hidden; width:990px; } #headleft { float:left; margin:0; overflow:hidden; padding:0; position:relative; width:330px; }
Viewing 15 lines of 33 lines. View entire code block.
Take a look at this, see if it will help:
http://www.concrete5.org/marketplace/addons/random-image/...
http://www.concrete5.org/marketplace/addons/random-image/...
55webdesign, I have the add-on I need to use, i just don' t know how to insert it into the existing header. When I hit edit on the site, there's no way to add content blocks to that section.
You must create the areas before you can drop addins into them,
See above..
See above..
thank you wey, i'll give it a shot
You might need to change the code then.
Do you have a 'Global area' with a block limit?
Do you have 'Editable' areas?
I got in a bit late then!
Do you have a 'Global area' with a block limit?
Do you have 'Editable' areas?
I got in a bit late then!
Do you need more 'areas', etc...