Forums / Addon Sideboxes / removing the header and border from an added sidebox

removing the header and border from an added sidebox

Locked

Views: 1,213

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
14 Mar 2010, 6:44 PM
#1
sesnut avatar

sesnut

New Zenner

Join Date:
Mar 2010
Posts:
4
Plugin Contributions:
0

removing the header and border from an added sidebox

Hi all,

I added the authorize.net merchant seal to my shop and im trying to remove the header with code that i added to my stylesheet that looks like this

#AUTHORIZENETHeading {
display: none;
}

except it doesnt do anything, the header is still there

also what is the code to remove the border as well?

14 Mar 2010, 6:49 PM
#2
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: removing the header and border from an added sidebox

Why would you use the css to hide the header. CSS will only hide it, it doesn't remove it. You can remove the reference to the header in the actual php file then style to border in css. Since there is no link for your site that is all the help your getting....:blink:

14 Mar 2010, 7:04 PM
#3
sesnut avatar

sesnut

New Zenner

Join Date:
Mar 2010
Posts:
4
Plugin Contributions:
0

Re: removing the header and border from an added sidebox

whoops, its http://woodenspoonbbq.com/store/

i dont see the reference to the header in the php file

// test if box should display
$show_authorizenet = true;

if ($show_authorizenet == true) {
$content = '';
require($template->get_template_dir('tpl_authorizenet.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_authorizenet.php');

$content = '<div id="' . str_replace('_', '-', $box_id . 'Content') . 
           '" class="sideBoxContent centeredContent">' . $content . '</div>';

$title =  BOX_HEADING_AUTHORIZENET;
$title_link = false;
$left_corner = false;
$right_corner = false;
$right_arrow = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);

}
?>

14 Mar 2010, 7:12 PM
#4
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: removing the header and border from an added sidebox

$title = BOX_HEADING_AUTHORIZENET;
$title_link = false;
``` This is calling on your header.

If you only need to display the authorize net logo why not just paste the code they provide you into an empty sidebox. add it to your modules/sideboxes/your_template/ and just past the html code in it. 

Simple and easier if you don't know your way around php.
14 Mar 2010, 7:34 PM
#5
sesnut avatar

sesnut

New Zenner

Join Date:
Mar 2010
Posts:
4
Plugin Contributions:
0

Re: removing the header and border from an added sidebox

oh, youre right. I was under the impression that the side boxes had to be specifically coded that way for them to even show up

thanks for the help.