anze Posted January 27, 2011 Share Posted January 27, 2011 Hi to all,i would like to know how to put H1 tag in last item in breadcrumb. You can see what i mean on picture below.Thanks,Anže Link to comment Share on other sites More sharing options...
webbusiness23 Posted January 29, 2011 Share Posted January 29, 2011 Try editing the css code.Inside your theme's directory there is a css directory, edit the global.css file and search for .breadcrumb { color: #888888; font-size: 1em;}and add what you need. Link to comment Share on other sites More sharing options...
devilsown Posted January 31, 2011 Share Posted January 31, 2011 That will not quit work. He is wanting to have a tag on each side of the last breadcrumb. Link to comment Share on other sites More sharing options...
anze Posted January 31, 2011 Author Share Posted January 31, 2011 Thanks guys,but i want to do like devilsown said. I want to have tag on each side of the last breadcrumb.RegardsAnže Link to comment Share on other sites More sharing options...
PrestaMagic Posted February 11, 2011 Share Posted February 11, 2011 Just edit breadcrumb.tpl in your theme's directory. You'll add h1 tags and give it a class of something like "mybreadcrumb" then go to your theme/css dir and edit your style sheet so that h1.mybreadcrumb is styled to match.A late response, but I hope this helps. Link to comment Share on other sites More sharing options...
Paul C Posted February 12, 2011 Share Posted February 12, 2011 So you want both the last item in the breadcrumb trail AND the product title on the page both to be inside h1 tags? Hmmm interesting.Paul Link to comment Share on other sites More sharing options...
Usman Ahmed Posted February 15, 2011 Share Posted February 15, 2011 Putting H1 tag in last item in breadcrumb? I must say it is a great Idea for good Search Engine Optimization. Link to comment Share on other sites More sharing options...
adamus007p Posted February 19, 2011 Share Posted February 19, 2011 I am thinking about the same thing. Any working solution? Link to comment Share on other sites More sharing options...
adamus007p Posted February 19, 2011 Share Posted February 19, 2011 I want to use h1 in product name Link to comment Share on other sites More sharing options...
Paul C Posted February 19, 2011 Share Posted February 19, 2011 All you need to do for that is edit the theme - product.tpl - and use h1 instead of whatever it is at the moment.I'm not sure having multiple h1's on a page is a good idea, but then I'm a purist If you want it on the breadcrumbs, then you just edit breadcrumb.tpl. Pretty easy really.Paul Link to comment Share on other sites More sharing options...
adamus007p Posted February 19, 2011 Share Posted February 19, 2011 in editional module there is a trick, there is a H1 without increase of size of fonthow to make with product name? Link to comment Share on other sites More sharing options...
Paul C Posted February 19, 2011 Share Posted February 19, 2011 All you need to do is edit the (or assign a) selector for it . The exact css will depend on your theme though.Paul Link to comment Share on other sites More sharing options...
Usman Ahmed Posted February 19, 2011 Share Posted February 19, 2011 If you want it just for SEO, you can convert h2 title heading into h1, and logo h1 into h2.I did the same, check my website and its source from my signature. I made some changes in the product.tpl in the themes to achieve that. Link to comment Share on other sites More sharing options...
adamus007p Posted February 19, 2011 Share Posted February 19, 2011 I add in global.css h1 { font-size: 1.1em; line-height: 1.6em; padding-left: 0.5em; margin: 0.5em 0; text-transform: uppercase; font-weight: bold; color: #374853; background: transparent url('../img/title_bg.gif') no-repeat top left; height: 21px } and in product.tplline 92 {$product->name|escape:'htmlall':'UTF-8'} instead of h2do google penantly using same size in h2 like in h1?the size of font is the same Link to comment Share on other sites More sharing options...
adamus007p Posted February 19, 2011 Share Posted February 19, 2011 make same things:http://www.prestashop.com/bug_tracker/view/7777/ Link to comment Share on other sites More sharing options...
Usman Ahmed Posted February 19, 2011 Share Posted February 19, 2011 No, there would be no penalty, You're not doing anything wrong.Just make sure one thing, h1 heading should not repeated. It should be only once on every page. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now