| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Static pages | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have added a new style to skin1.css to control the borders on the static pages, however it is not changing the layout of the static pages. Is the skin1/customer/main/pages.tpl what controls the static pages.
__________________
4.1.11 gold x-special offers CDSEO Pro |
|||||||
#2
|
|||||||
|
|||||||
![]() Yes, but also take a look at dialog.tpl
__________________
Autobulbs Direct Ltd X-Cart Version: 4.2.2 eWay Designs - Custom X-Cart Templates / CMS Websites / Bespoke web applications |
|||||||
|
#3
|
|||||||||
|
|||||||||
![]() Yes, skin1/customer/main/pages.tpl prints static page content.
Can you post the style you have added?
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#4
|
|||||||
|
|||||||
![]() Hi Victor
Have i picked it up correctly in that pages.tpl is what is printed out if the customer makes a print out of the static pages content ? The style i added is as follows Static Page */ .Pagelayout { {*WIDTH: 100%*} TEXT ALIGN: justify; VERTICAL ALIGN: Top; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; }
__________________
4.1.11 gold x-special offers CDSEO Pro |
|||||||
#5
|
|||||||
|
|||||||
![]() Thanks autobulbs the dialog.tpl did the trick but this changes the padding to all pages on the site not just the embedded static pages, any thoughts on how i can change only the embedded static pages?
One more question is there an easy way on how in the future can i see which .tpl i may need to look at to change if i need to edit any page on the site as i did look at webmaster mode but the list of .tpl is large and to just go through them all becomes a mammoth task.
__________________
4.1.11 gold x-special offers CDSEO Pro |
|||||||
#6
|
|||||||
|
|||||||
![]() With webmaster mode, you need to hover over the name of the various .tpl files in the popup window and it will be highlighted with a red border in the the main page. It is probably the best way of locating which file displays what.
In pages.tpl find where it says: Code:
and change it to something like: Code:
and in dialog.tpl find this: Code:
and change it to this: Code:
__________________
Autobulbs Direct Ltd X-Cart Version: 4.2.2 eWay Designs - Custom X-Cart Templates / CMS Websites / Bespoke web applications |
|||||||
#7
|
|||||||
|
|||||||
![]() When i hover over the various names of the .tpl files i don't have a red border in the main page only a black cursor and the the page jumps down a line, do i have to adjust a setting to get the red border?
Done the above does this only affect the embedded static pages?
__________________
4.1.11 gold x-special offers CDSEO Pro |
|||||||
|
|||
X-Cart forums © 2001-2020
|