X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adding a graphic (https://forum.x-cart.com/showthread.php?t=72168)

qualiteam 11-16-2017 08:35 PM

Re: Adding a graphic
 
What theme do you use? I believe all the built-in themes have no right sidebar, and a few pages that display blocks in the right sidebar just emulate it through CSS rules (like the "Bestsellers" block on the home page in our Ideal Responsive online demo).

richardjknox 11-16-2017 11:52 PM

Re: Adding a graphic
 
Hi Alex

Thanks for getting back to me

I'm using a 3rd Part clean look skin.

Is there any way of finding out the file I need to edit ? .. struggling on !

Cheers
rjk

ITVV 11-17-2017 12:46 AM

Re: Adding a graphic
 
Hi @richardjknox,

Which version of xcart are you using?

What is the skin called?

Kind regards

ITVV

richardjknox 11-17-2017 01:18 AM

Re: Adding a graphic
 
hi

4.6 and 7dana clean look wwww.pcdcomputers.co.uk

Just want to add some logos to the right hand side .. looks a bit bare.

Nice if you could help

Cheers
Richard Knox

pauldodman 11-17-2017 01:24 AM

Re: Adding a graphic
 
You would need to edit the file:
customer/right_bar.tpl
in your template folder.
Either add the images and code directly in there, or create a new template and call that from the right_bar.tpl template.

Finding the template to edit though is quite easy - just use Webmaster Mode from admin.

richardjknox 11-17-2017 01:28 AM

Re: Adding a graphic
 
hi
that's the problem it doesn't exist ...it's something to do with the CSS as mentioned by Alex above

Cheers
rjk

pauldodman 11-17-2017 01:34 AM

Re: Adding a graphic
 
At this stage, we are not dealing with css.
Css is just for the styles we want to apply.
Firstly you need to find and add the code that you might then style using css.

All templates exist in the common_files folder.
X-Cart first looks for templates in the custom template folder - if they don't exist there, then it uses the default ones in the common folder.
Templates only exist in the custom folders if they have been modified.

So if there is no right_bar template in the custom folder, it is using the default one in the common folder.

You can edit that there, or you can upload it yourself to the custom folder, and it will then take precedence over the file in the common folder.

Again, if you use Webmaster mode, you'll see both the template in question, and which folder it is in.

ITVV 11-17-2017 01:57 AM

Re: Adding a graphic
 
@richardjknox

Try having a look in: -

skin/customer/home.tpl

From memory I think that this file controls left and right data / images. It did in an older version anyway.

Hope that helps?

Regards

ITVV

ITVV 11-17-2017 02:02 AM

Re: Adding a graphic
 
UPDATE

Actually perhaps in: -

skin/common_files/customer/content.tpl

ITVV

richardjknox 11-17-2017 04:28 AM

Re: Adding a graphic
 
thanks Guys

I haven't got ftp access here at work ... so I'll have a look when I get back home tonight, and let you know how I get on

Cheers
rjk


All times are GMT -8. The time now is 02:30 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.