Template by lck

Please post the URLs to pages, where you've made a CMSimple template available for download

Moderator: mikey

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: Template by lck

Post by frase » Sun May 03, 2020 10:55 am

ustalo wrote:
Sun May 03, 2020 10:35 am
we works with slideshow in template background
it is distort
http://aporthodox.ru/
Ah, this is a different website from the one mentioned above.

Okay. Try this:
In stylesheet.css change in line 1405:

Code: Select all

.lck_slideshow img {
    height: auto !important;
    width: 100% !important;
}
This will resize the images proportionally.
However, they will also be cropped and the position (top, middle, bottom) might have to be adjusted.

lck
Posts: 3211
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Template by lck

Post by lck » Sun May 03, 2020 11:26 am

1.) First of all you should definitely fix all the errors in the template.htm. See W3C-Html Checker.

2.) Some tags appear twice, e.g.:

Code: Select all

<header id="lck_head">
		<div class="lck_head">
			<!--вызов плагина-->
			<header id="lck_head">
					<div class="lck_head">
<!-- Slideshow mit Slideshow_XH -->
3.) There are many comments in the template and therefore probably also plugin calls are not commented out correctly.
See here how to do it correctly.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

ustalo
Posts: 170
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: Template by lck

Post by ustalo » Mon May 04, 2020 4:59 am

frase wrote:
Sun May 03, 2020 10:55 am
ustalo wrote:
Sun May 03, 2020 10:35 am
we works with slideshow in template background
it is distort
http://aporthodox.ru/
Ah, this is a different website from the one mentioned above.

Okay. Try this:
In stylesheet.css change in line 1405:

Code: Select all

.lck_slideshow img {
    height: auto !important;
    width: 100% !important;
}
This will resize the images proportionally.
However, they will also be cropped and the position (top, middle, bottom) might have to be adjusted.
Great Master!
Danke shon
I was sure- it is a problem of couple words.
Works fine.
Aleksei

ustalo
Posts: 170
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: Template by lck

Post by ustalo » Mon May 04, 2020 5:54 am

Ludwiq
now other problem
pict 100% wide
high auto
on some screens the is a big empty white space between slider and content.
As I see, slide (background pict) must be like

height: 100% !important;
width: cover !important;
I am far from code, but as I see in img/ cover- is a solution
here does not works
Aleksei

ustalo
Posts: 170
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: Template by lck

Post by ustalo » Mon May 04, 2020 5:57 am

.lck_slideshow {
position: fixed;
top: 0;
left: 0;
width: cover;
height: inherit;
margin: 0;
padding: 0;
z-index: -10;
}
.lck_slideshow img {
height: 100% !important;
width: cover !important;
}
Aleksei

ustalo
Posts: 170
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: Template by lck

Post by ustalo » Mon May 04, 2020 6:20 am

start page slider is ok
problem on other pages
it not 1005 wide
Aleksei

ustalo
Posts: 170
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: Template by lck

Post by ustalo » Mon May 04, 2020 6:59 am

start page slider is ok
problem on other pages
it is not 100% wide
some
max-width

something here

/* Slideshow mit Plugin Slideshow_XH */
.lck_slideshow {
position: fixed;
top: 0;
left: 0;
width: cover;
height: inherit;
margin: 0;
padding: 0;
z-index: -10;
}
.lck_slideshow img {
height: 100% !important;
width: cover !important;
}

I change

/* Slideshow mit Plugin Slideshow_XH */
.lck_slideshow {
position: fixed;
top: 0;
left: 0;
width: cover;

>>>>

.lck_slideshow {
position: fixed;
top: 0;
left: 0;
width: 100%;
Aleksei

lck
Posts: 3211
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Template by lck

Post by lck » Mon May 04, 2020 9:09 am

ustalo wrote:
Mon May 04, 2020 6:59 am
start page slider is ok
problem on other pages
it is not 100% wide
Try this:

Code: Select all

/* Slideshow mit Plugin Slideshow_XH */
.lck_slideshow {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: inherit;
	margin: 0;
	padding: 0;
	z-index: -10;
}
.lck_slideshow img {
    width: 100% !important;
    height: auto !important;
}
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

ustalo
Posts: 170
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: Template by lck

Post by ustalo » Mon May 04, 2020 11:44 am

I already did/ Works
about tab & accordion
experience show, one script stop it works

<script ="text/javascript" src="<?php echo $pth['folder']['template']?>scripts/smoothscroll.js"></script>

if I comment (delete) this line, accordion & tabs works
Aleksei

ustalo
Posts: 170
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: Template by lck

Post by ustalo » Mon May 04, 2020 1:51 pm

Tabs & Accordion works. if we do not use
smoothscroll.js
Aleksei

Post Reply