[SOLVED] Adding widget areas in the header
Hi,
I would like to add a 2 X 800px cell widget area to the header but I would like them to be on top of each other as oposed to side by side. How would I do this? Thanks |
I am using this code in the header config :
<?php bfa_widget_area('name=Banner&cells=2&align=1&width =800&before_widget=&after_widget='); ?> The problem here is that the cells are split vertically and I need them to slipt horizontaly. Is there a way of doing this? Joao |
I will gladly make another donation if you can solve this easily.
Thanks |
What would you do with a 2px widget?
|
Hi,
It's not a 2 px widget, it's two x 800 px wide widngets, horizontally placed on top of each other. We are building a site which requires the same header image throughout all the pages, but we have product pages in which we dont want to use the header image, but rather want to insert some other code for a different fucntion. So what I am want to do is place the 2 header widgets horizontally, the top one with the header image and the bottom one with the other html code, then hide them depending on the page i want to show. Makes sense? |
NOTE: This will effect ALL extra widget areas!
You can try this. Edit functions.php and locate lines 323-358 which should be HTML Code:
echo '<table id="' . $area_id . '" class="bfa_widget_area" style="table-layout:fixed; width: 100%" cellpadding="0" cellspacing="0" border="0">'; HTML Code:
echo '<table id="' . $area_id . '" class="bfa_widget_area" style="table-layout:fixed; width: 100%" cellpadding="0" cellspacing="0" border="0">'; |
WOW! This incredible. The code you gave me produces exactly what I wanted.
Many thanks. I have made a donation! Have a great weekend |
All times are GMT -6. The time now is 07:38 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.