I have a top, where the languages choice is on the left and the home/login/checkout on the right.
I would like to add the text, free shipping, in the middle/center. Non clickable.
How do I do that?
I have a top, where the languages choice is on the left and the home/login/checkout on the right.
I would like to add the text, free shipping, in the middle/center. Non clickable.
How do I do that?
Language: Dutch
English: not so very good
Allready have a live shop, so building local/on my computer
It would help if we could see the site.
My question is, how to put a non clickable text in there.
If it where a link, I would probably get it done.
I think I would open tpl_header and make a
<div id="shipping">
Link here
</div>
go to the stylesheet and ad #shipping.
Something like that.
But now I want to add just the words Free shipping (in english, and gratis verzending in dutch) and I don't want to make it a link.
How do I add those words if I don't want them to do anything?
Language: Dutch
English: not so very good
Allready have a live shop, so building local/on my computer
Open tpl_header.php
\includes\templates\YOUR_TEMPLATE\common
Find the piece of code for language selection, and the one for the login, add
<div id="shipping">
Link here
</div>
in between them.
I got it done.
I added this to the header file
<div id="shipping">
<?php echo HEADER_SHIP_TEXT;?>
</div>
Then addes HEADER_SHIP_TEXT to the language files.
And added #shipping to the stylesheet.
So far so good, but i made a mess out of the places where everything goes.
#shipping{width:70%;float:center;}
#header-cart{font-size:140%;text-align:left;}
#cur-lan-header{width:25%;float:left;}
#lang_header{float:left;width:40%;margin-top:4px;}
#navMainWrapper {margin:0 auto;color:#171717;float:right;width:70%;}
#navMain ul {margin:0 auto;padding: 5px 0 0.5em 0;list-style-type:none;text-align:left;line-height: 1.5em;float:right;}
#navMain ul li {display:inline;}
#navMain ul li a {margin:0;padding:0em 1.0em;color: #a0a0a0;text-decoration:none;white-space:nowrap;font-size:100%;text-transform:uppercase;}
#navMain ul li a:hover {color: #8db9fb;}
#navMain i{margin-right:10px;color: #8db9fb;font-size:120%;vertical-align:middle;}
#navMain i:hover{color:#fff;}
I would like the language flags on the left, free shipping in the middle and the login/items/checkout on the right.
And also on the mobile phone
![]()
Last edited by Pompidompie; 29 Mar 2015 at 06:25 PM.
Language: Dutch
English: not so very good
Allready have a live shop, so building local/on my computer
Myabe if you post the relevant code of the tpl_header would be more helpful.