Guest ms_arbez Posted February 15, 2006 Share Posted February 15, 2006 Hello, I'm extremely new to the Cube Cart setup. I've been toying around with the CSS files, and I've created a pretty decent base. I didn't see a thread in this section (though I tend to skip things when I'm rush-scoring), and what I would like to do is see if there is a way to change the text in the box titles to an image instead. Is this possible? And if so, what file do I alter? I figured I'd ask for at least a hint before I butchered what I had created. If anyone has any insight, it would be GREATLY appreciated! Quote Link to comment Share on other sites More sharing options...
Guest Posted February 15, 2006 Share Posted February 15, 2006 all done in the css file just change the layout.css file so that it uses a image instead of a colour or replace the image already used with your own i think its called boxTitle.gif/jpg Quote Link to comment Share on other sites More sharing options...
markscarts Posted February 15, 2006 Share Posted February 15, 2006 Hi, I think EvilHomer misread your question. To change the text into an image file, open /language/xx/lang.inc.php (xx = store's default lang files, example "en"), then search for the exact terms that you want to replace. Place your html image code in place of the text between the double quotes on the right side of the equation - do not alter anything else. Note that you cannot use double quotes around the image url, use single quotes instead. EXAMPLE: 'shop_by_cat' => "Shop by Category", 'shop_by_cat' => "<img src='skins/Classic/styleImages/titles/catTitle.jpg'>", That is to say, 'shop_by_cat' => "<img src='path_to_image/imageName.ext'>", Quote Link to comment Share on other sites More sharing options...
Guest ms_arbez Posted February 15, 2006 Share Posted February 15, 2006 PERFECT! That's exactly what I wanted to do! while I like using text at times, I prefer to jazz it up some with actual graphics, and just changing the background, while cool, wasn't what I was looking for. Thank you so much! Quote Link to comment Share on other sites More sharing options...
markscarts Posted February 15, 2006 Share Posted February 15, 2006 You're welcome. Plz post a link to your store so we can all enjoy your progress . . . Quote Link to comment Share on other sites More sharing options...
Guest ms_arbez Posted February 15, 2006 Share Posted February 15, 2006 You're welcome. Plz post a link to your store so we can all enjoy your progress . . . Absolutely... Shoe Store Thanks to Dreamweaver 8, the CSS tweaking is a BREEZE! And a note to CubeCart *cowers* The credits at the bottom, I know I haven't changed the font to show yet, but I'm getting there! Quote Link to comment Share on other sites More sharing options...
markscarts Posted February 15, 2006 Share Posted February 15, 2006 Cool - you're doing a fantastic job with the design Keep up the good work! Quote Link to comment Share on other sites More sharing options...
Guest ms_arbez Posted February 15, 2006 Share Posted February 15, 2006 Thanks! I've only been tinkering with it since Monday! 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.