Jump to content

Image in box title instead of text?


Guest ms_arbez

Recommended Posts

Guest ms_arbez

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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'>",

Link to comment
Share on other sites

Guest ms_arbez

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!

Link to comment
Share on other sites

Guest ms_arbez

You're welcome. :D

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...