Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Posts
    4
    Plugin Contributions
    0

    help question 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?

  2. #2
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default 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....

  3. #3
    Join Date
    Mar 2010
    Posts
    4
    Plugin Contributions
    0

    Default 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);
    }
    ?>

  4. #4
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: removing the header and border from an added sidebox

    PHP Code:
    $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.

  5. #5
    Join Date
    Mar 2010
    Posts
    4
    Plugin Contributions
    0

    Default 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.

  6. #6
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: removing the header and border from an added sidebox

    i am glad I can help.

 

 

Similar Threads

  1. Centering a header image and removing the white border below it
    By marrzo in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 26 Jun 2009, 10:24 PM
  2. Removing Border from PayPal Sidebox - Is it Possible?
    By scouting82 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 May 2009, 01:05 PM
  3. removing the space between sidebox header image and content
    By davowave in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 Mar 2009, 12:19 AM
  4. Sidebox Header Size and Sidebox border
    By shaunb in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Oct 2008, 03:25 AM
  5. Gap between sidebox header and border, but only on one side.
    By kindred_kountry in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 10 Apr 2007, 03:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg