voolfz Posted February 13, 2014 Share Posted February 13, 2014 (edited) Hello, I've got a problem here. When you log in on the website your permanent links are shown in 1 line, but when you do register and the name is too long it gets separated in two lines(see picture). Could you please help to solve this issue. Thanks, here's the website : www.otfelten.lu Edited February 13, 2014 by voolfz (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted February 14, 2014 Share Posted February 14, 2014 This happens because of how the theme is setup. Can you link the website? Link to comment Share on other sites More sharing options...
voolfz Posted February 14, 2014 Author Share Posted February 14, 2014 Hello, Here it is : www.otfelten.lu . Link to comment Share on other sites More sharing options...
NemoPS Posted February 15, 2014 Share Posted February 15, 2014 The element with class="account" has a hardcoded 14px from the top, edit blockuserinfo.tpl that you can find in the theme's folder/modules and remove it, it should fix it 1 Link to comment Share on other sites More sharing options...
voolfz Posted February 17, 2014 Author Share Posted February 17, 2014 Hello, Thanks for info, but it doesn't work Here's the code <!-- Block user information module HEADER --> <div id="header_user" class="pull-right"> <div id="header_user_info"> <div class="nav-item"><div class="item-top hidden-phone">{l s='Default welcome msg!' mod='blockuserinfo'}</div></div> {if $logged} <div class="nav-item"> <div class="item-top"> <a href="{$link->getPageLink('my-account', true)}" class="account" style="top:16px; position:relative;"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a></div> </div> <div class="nav-item"> <div class="item-top"> <a href="{$link->getPageLink('index', true, NULL, "mylogout")}" title="{l s='Log me out' mod='blockuserinfo'}" class="logout" style="top:14px; position:relative;">{l s='Log out' mod='blockuserinfo'}</a></div> </div> {else} <div class="nav-item"><div class="item-top"><a href="{$link->getPageLink('my-account', true)}" class="login" line-height: 40px;>{l s='Log in' mod='blockuserinfo'}</a></div></div> {/if} <div class="nav-item" id="your_account"><div class="item-top"><a href="{$link->getPageLink('my-account', true)}" title="{l s='Your Account' mod='blockuserinfo'}" style="line-height:40px;">{l s='Your Account' mod='blockuserinfo'}</a></div></div> </div> </div> <div id="topminibasket"> <div id="header_nav"> {if !$PS_CATALOG_MODE} <div id="shopping_cart"> {if $page_name == 'index'} <span id="cart_block"></span> {/if} <a class="kenyan_coffee_rg" href="{$link->getPageLink($order_process, true)}" title="{l s='Your Shopping Cart' mod='blockuserinfo'}">{l s='Shopping Cart:' mod='blockuserinfo'}</a> <span class="ajax_cart_quantity{if $cart_qties == 0} hidden{/if}">{$cart_qties}</span> <span class="ajax_cart_product_txt{if $cart_qties != 1} hidden{/if}">{l s='product' mod='blockuserinfo'}</span> <span class="ajax_cart_product_txt_s{if $cart_qties < 2} hidden{/if}">{l s='products' mod='blockuserinfo'}</span> <span class="ajax_cart_total{if $cart_qties == 0} hidden{/if}"> {if $cart_qties > 0} {if $priceDisplay == 1} {assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant} {convertPrice price=$cart->getOrderTotal(false, $blockuser_cart_flag)} {else} {assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant} {convertPrice price=$cart->getOrderTotal(true, $blockuser_cart_flag)} {/if} {/if} </span> <span class="ajax_cart_no_product{if $cart_qties > 0} hidden{/if}">{l s='(empty)' mod='blockuserinfo'}</span> </div> {/if} </div> </div> <!-- /Block user information module HEADER --> What should I change here? Link to comment Share on other sites More sharing options...
voolfz Posted February 17, 2014 Author Share Posted February 17, 2014 Hi, I've edited account top height to 0px and it worked. Thanks a lot Link to comment Share on other sites More sharing options...
Recommended Posts