Review CSS, this forum does not provide step by step for such.
Thread Starter
Ariel2
(@ariel2-1)
Well I think this could involve more than css, I thought maybe php…but I don’t know, but I think this forum is also for step by step, really I didn’t understand why you said that
new at using WordPress
Social Engineering was discovered with AT&T in the 70’s…please help us more….
edit header.php;
locate the code of the searchbar:
<?php
// Has the text been hidden?
if ( 'blank' == get_header_textcolor() ) :
?>
<div class="only-search<?php if ( $header_image ) : ?> with-image<?php endif; ?>">
<?php get_search_form(); ?>
</div>
<?php
else :
?>
<?php get_search_form(); ?>
<?php endif; ?>
replace it with the banner code.
Thread Starter
Ariel2
(@ariel2-1)
alchymyth, I tested that with a 468×60 banner size and It appeared so big, covering the full width of the heather
But I’d like to know if It is possible to set up a widget area in the heather in order to I could add the banner code from the dashborad, and give styles to that container
Thread Starter
Ariel2
(@ariel2-1)
alchymyth I have a doubt with this part you have in your site:
– this goes into the template at the location where you want the custom widget to appear:
<?php if ( is_active_sidebar( ‘custom-widgets’ ) ) : ?>
<div class=”custom”>
<?php if ( !dynamic_sidebar( ‘custom-widgets’ ) ) : ?>
<?php endif; ?>
</div>
<?php endif; ?>
The doubt is, where exactly this goes, in some child theme archive? or which archive of the parent? I really have no idea
where exactly this goes
in your case, for instance into header.php – to replace the ‘searchbar’ code section.
Thread Starter
Ariel2
(@ariel2-1)
alchymyth and the other code that goes in funtions.php should I make first a copy of functions.php into the child theme and work there?
And this could go in any part of the functions.php?
create a new (empty) functions.php in the child theme; http://codex.wordpress.org/Child_Themes#Using_functions.php
add this into the first line:
<?php
make sure there are no empty lines or space characters before that.
then add the suggested function code into functions.php
Thread Starter
Ariel2
(@ariel2-1)
alchymyth, must I add any final ending like ” ?>” to the end of the code?
contact your theme developer he shall lead you the way, and if not as the sweeper said you have to edit your header.php file don’t forget to backup your site before performing live edits
Thread Starter
Ariel2
(@ariel2-1)
alchymyth: your help was great! I’m very greateful! and your web is very useful, thank you very much
Thread Starter
Ariel2
(@ariel2-1)
contact your theme developer he shall lead you the way, and if not as the sweeper said you have to edit your header.php file don’t forget to backup your site before performing live edits
Thanks for you comment, and yes, he did, I’m very greatful
must I add any final ending like ” ?>” to the end of the code?
no;
you can add this to the end, and if you do, there must be no other empty lines or space characteres after that.