View Single Post
  #6  
Old 04-12-2009, 06:03 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: How to put the "Printable version" in the same line with breadcrumb?

Back up head.tpl, home.tpl, and main.css

Find this code in head.tpl

{if $printable_link_visible}
<div class="printable-bar">
<a href="{$php_url.url}?printable=Y{if $php_url.query_string ne ''}&amp;{$php_url.query_string|amp}{/if}">{$lng.lbl_printable_version}</a>
</div>
{/if}

Cut and paste it directly after this code in home.tpl

{include file="customer/bread_crumbs.tpl"}


now in main.css

find this code

.line3 .printable-bar {
position: absolute;
top: 6px;
right: 186px;
height: 18px;
}
.line3 .printable-bar a:link,
.line3 .printable-bar a:visited,
.line3 .printable-bar a:hover,
.line3 .printable-bar a:active
{
background: transparent url(images/printer.gif) no-repeat right top;
padding: 2px 20px 2px 0px;
color: #818891;
font-size: 10px;
line-height: 16px;
}

change it to this

.printable-bar {
position: absolute;
top: 0px;
right: 0px;
height: 18px;
}
.printable-bar a:link,
.printable-bar a:visited,
.printable-bar a:hover,
.printable-bar a:active
{
background: transparent url(images/printer.gif) no-repeat right top;
padding: 2px 20px 2px 0px;
color: #818891;
font-size: 10px;
line-height: 16px;
}
__________________
xcart 5.1.2
Reply With Quote