Guest Posted January 15, 2014 Posted January 15, 2014 I have managed to add an image to my index/homepage by adding the following code to catalog/includes/languages/english.php define('TEXT_MAIN', '<image src=images/image.jpg width="450" height="422" alt="AltName"align="center">'); However it will not align to the center no matter what I do. I have even installed info manager but whatever I add to the TEXT_MAIN field doesn't display. Can anyone shine some light on this issue?
♥joli1811 Posted January 15, 2014 Posted January 15, 2014 Hi Steve, Just pulled that from my info manager as you can see he is using the full site url of course you need to align center <p style="text-align:center"> blah for your image </p> something like that my code is floating left so you need to change <div> <h2>Happy 2014 from XXXXX!<img alt="" src="http://www.XXXXXXX.com/demo9/images/WhiteSale.gif" style="border-style:solid; border-width:0px; float:left; height:193px; margin:10px; width:297px" /></h2> </div> Regards Joli PS: if using info manager make sure the x 3 admin/ info manager files are from SLICK the other ones are buggy To improve is to change; to be perfect is to change often.
Guest Posted January 15, 2014 Posted January 15, 2014 <p style="text-align:center"> D'oh, I didnt think that would work so I didn't try it, thanks
♥joli1811 Posted January 15, 2014 Posted January 15, 2014 Well if all else fails you could insert the html in your index.php directly somewhere below <?php } else { // default page ?> towards the bottom course if you have several languages and there is text is no good I use info manager with the ckeditor add on an easy install then you can upload the image directly in the ckeditor . Regards Joli To improve is to change; to be perfect is to change often.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.