Jump to content

Add "Orderline: 08000625623" to header?


Recommended Posts

Modify modules/blockuserinfo/blockuserinfo.tpl and add the following at line 3 (after the div):


{l s='OrderLine' mod='blockuserinfo'}:
0800 32672773



You can then add the following to css/global.css in your theme's directory to make the text bigger, bolder and red:

#header_user p#orderline { color: red; font-size: 1.2em; font-weight: bold; }

Link to comment
Share on other sites

I am having an absolute mare trying to align this. Can anyone help see screenshot:

/* MEDCHANGED - Orderline*/
#header_user #orderline { color: #5a6227; font-size:14px; font-weight: bold;
}

#header_user #shopping_cart, #header_user #your_account { font-size: 0.9em; }
#header_user #shopping_cart a, #header_user #your_account a {
   background-repeat: no-repeat;
   background-position: top left;
   padding: 2px 0 4px 10px;
   height: 5px;
   text-decoration: none;
}
#header_user #shopping_cart a { background-image: url(../img/icon/cart.gif); }
#header_user #shopping_cart span.ajax_cart_quantity { padding-right:0.5em; }
#header_user #your_account a { background-image: url(../img/icon/my-account.gif); }

17746_KPw81uoq96h94cmBfc7S_t

Link to comment
Share on other sites

  • 2 weeks later...

I think you'll have to use absolute positioning instead of floating to move it up. Use something like this in global.css:

#header
{
  position: relative;
}

#header_user
{
  position: absolute;
  top: 0;
  right: 0;
}



Add the "position: relative" to the existing "#header" rather than creating a new one if possible. Increase the top value until you are happy with its position.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...