Warhol Template

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

Moderator: mikey

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Warhol Template

Post by Tata » Tue Apr 12, 2016 6:54 pm

I just work on this webpage template. There were neede some small changes in core files. But only a little important.
Waiting for your comments. I will appreciate any suggestion. Tested only in FF 45 so far. One thing remaning is the centering of navigation in the smallest device widths and optimal calendar popups size and positioning. I can't find the right styling.
http://warhol.cmsimple.sk
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

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

Re: Warhol Template

Post by lck » Wed Apr 13, 2016 10:31 am

Tata wrote:... centering of navigation in the smallest device widths
stylesheet.css at the end:

Code: Select all

@media screen and (max-width: 1200px) { /* change 1200px to your desired width */
.navigation-1 ul.menulevel1 {
    display: table;
}
.navigation-1 ul.menulevel1 li {
    display: inline-block;
    float: none;
}
} 
Tata wrote:... and optimal calendar popups size and positioning
Possibly an approach: calendar/css/stylesheet.css

Code: Select all

a.info_pop-up:hover span.down2 {
    top: -20em;
    left: 200px;
}
EDIT:
Test your page even with the W3C-Developer tools, so that you can find some hints and errors.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Warhol Template

Post by Tata » Thu Apr 14, 2016 7:09 pm

Jetzt bin ich auf folgendes gekommen:
Die Popus sind mit vom Datum abhängig positioniert. An breiten Bildschims is es völlig OK. Wenn aber Template responsiv gebaut ist, dann z.B. am iPhone sind die Popups für z.B. Montag-Mitwoch links abgeschnitten.
Ist es möglich die position mit Kleinkalenderbreite verbunden als die max-breite und damit positionieren?
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

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

Re: Warhol Template

Post by lck » Fri Apr 15, 2016 12:35 pm

lck wrote:Possibly an approach: calendar/css/stylesheet.css

Code: Select all

a.info_pop-up:hover span.down2 {
    top: -20em;
    left: 200px;
}
Isn't it working? Have you tested it?
At the moment, I don't see another way. Maybe can Svasti.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Warhol Template

Post by Tata » Fri Apr 15, 2016 1:52 pm

Yes, I did. Try to open it on a smartphone in portrait and see the calendar event on Apr. 14th. The weekend is OK.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

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

Re: Warhol Template

Post by lck » Fri Apr 15, 2016 4:05 pm

Komisch :? , ich sehe keine Änderung in der css-Datei, da steht immer noch:

Code: Select all

a.info_pop-up:hover span.down2 {
    top: 3em;
    left: 140px;
} 
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Warhol Template

Post by Tata » Fri Apr 15, 2016 5:51 pm

Jetzt habe ich es zurrück auf dein Vorschlag gestellt. Am Montag, Dienstag ist das PopupFenster noch immer rechts abgeschnitten.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

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

Re: Warhol Template

Post by lck » Fri Apr 15, 2016 6:25 pm

Sorry Tata, hatte immer nur auf der Seite http://warhol.cmsimple.sk/?M%C3%BAzeum geschaut und da war im April nur am Mittwoch und am Sonntag ein Termin eingetragen.

http://warhol.cmsimple.sk/de/?M%C3%BAze ... &year=2016 wäre die richtige Adresse gewesen :shock:
Jetzt sehe ich klarer :)

Schau dir in der stylesheet.css von calendar 1.4.6 die Zeilen unter 393 an. Wie ich das sehe, sind die Klassen mit a.info_pop-up:hover span.down0 ... a.info_pop-up:hover span.down6 den Wochentagen entsprechend zugeordnet .down0 = Montag, .down6 = Sonntag.
Du müsstest diese Werte deinen Vorstellungen entsprechend ändern/anpassen (Auszug aus dem css)

Code: Select all

a.info_pop-up:hover span.down0 {
    top:3em;
    left:160px;
}
a.info_pop-up:hover span.down1 {
    top:3em;
    left:150px;
}
a.info_pop-up:hover span.down2 {
    top:3em;
    left:140px;
}
a.info_pop-up:hover span.down3 {
    top:3em;
    left:90px;
}
a.info_pop-up:hover span.down4 {
    top:3em;
    left:40px;
}
a.info_pop-up:hover span.down5 {
    top:3em;
    left:30px;
}
a.info_pop-up:hover span.down6 {
    top:3em;
    left:20px;
} 
Irgendwie habe ich das komische Gefühl als hätten wir dieses Problem schon mal gehabt. Eventuell weiß Svasti mehr darüber.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Warhol Template

Post by Tata » Fri Apr 15, 2016 7:00 pm

Daraufmit down1...6 binich nicht gekommen. Ich versuche es. Danke.
EDIT:
Super, das war´s jetz. Vielen Dank. Und es sieht auch ganz gut am standard Bildschirm.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Warhol Template

Post by Tata » Fri Apr 22, 2016 6:33 pm

Komische Sache!
Solange arbeite ich am Localhost auf meinem Notebook, sehe ich keine Events-Links im Calendar. Sichbar sind aber die Flags im Languagemenu.
Öffne ich das selbe am iMAC, sehe ich die Events-Links, verschwinden aber die Flags.
Lade ich alles hoch an Host, funktioniert alles problemloss. Was soll das verurschachen?
Schaue ich den Code an, dann am Localhost sehe ich, dass languagemenu nicht generiert ist. Es fehlt einfach im DIV. Am host ist es aber da.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply