Guest doobaadoo Posted April 26, 2007 Share Posted April 26, 2007 Hi, Is there anyway the centre the text in the homepage title? Thanks Quote Link to comment Share on other sites More sharing options...
Guest webicon Posted April 26, 2007 Share Posted April 26, 2007 Are we talking about the title that by default says 'welcome to cubecart' ? If so yes - but if you want just on the homepage and not other titles you will have to hardcode style info on the index page rather than by stylesheet (which updates all titles by default) Find file: skins/{your skin}/styleTemplates/content/index.tpl (Back up the file first so you can restore if needed) look for line: <span class="txtContentTitle">{HOME_TITLE}</span> replace with: <div class="txtContentTitle" style="text-align:center;">{HOME_TITLE}</div> Hope that helps Quote Link to comment Share on other sites More sharing options...
Guest doobaadoo Posted April 26, 2007 Share Posted April 26, 2007 hi, Yep i do mean the title that says welcome to cubecart. i tried your method but the text still stays at the left. Thanks for trying. Quote Link to comment Share on other sites More sharing options...
markscarts Posted April 27, 2007 Share Posted April 27, 2007 In that case, change the new line: <span class="txtContentTitle" style="text-align:center;">{HOME_TITLE} to this: <div class="txtContentTitle" style="text-align:center;">{HOME_TITLE}</div> Quote Link to comment Share on other sites More sharing options...
Guest doobaadoo Posted April 27, 2007 Share Posted April 27, 2007 Thanks it worked great Quote Link to comment Share on other sites More sharing options...
markscarts Posted April 28, 2007 Share Posted April 28, 2007 You're welcome :( Quote Link to comment Share on other sites More sharing options...
Guest lordbarron Posted May 4, 2007 Share Posted May 4, 2007 is there anyway I can have as an image instead and centered? I managed in latest products but that appeared in the language file. Quote Link to comment Share on other sites More sharing options...
Robsta Posted May 4, 2007 Share Posted May 4, 2007 is there anyway I can have as an image instead and centered? I managed in latest products but that appeared in the language file.Yes, just replace {HOME_TITLE} with <img src="path/to/image.jpg" alt=""/> The path should be valid as referenced from the root of the store where 'index.php' is. Quote Link to comment Share on other sites More sharing options...
Guest lordbarron Posted May 5, 2007 Share Posted May 5, 2007 if i type in .../ that moves the path backwards one folder right? and then you type in the folders from that point on. so say my images are in skins/default/styleImages/doc_1.jpg then my relative path from index.php would be <img src="/skins/default_2/styleImages/doc_{DOC_NR}.jpg" alt="{DOC_NAME}"> ?? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.