PHP

General questions about CMSimple
jop
Posts: 106
Joined: Sun Sep 20, 2009 1:05 pm

Re: PHP

Post by jop » Fri Oct 18, 2024 3:10 pm

If I only want to change logo and not favicon, is it then enough to replace the file logo.png and xh-logo_bg.png (or kan this be removed?)?
There are many files in the favicon folder to replace?
Update: unfortunately, this is beyond my abilities, so I would appreciate information on how to remove the logo from the template.
Last edited by jop on Sat Oct 19, 2024 9:11 am, edited 1 time in total.

jop
Posts: 106
Joined: Sun Sep 20, 2009 1:05 pm

Re: PHP

Post by jop » Fri Oct 18, 2024 3:20 pm

It is a bullet list in Tinymce5 like this:
<p>Her kommer en opstilling</p>
<ul>
<li>test</li>
<li>test</li>
<li>test</li>
</ul>
Unfortunately I am on at local XAMPP.

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

Re: PHP

Post by lck » Fri Oct 18, 2024 4:20 pm

Sorry, I didn't look carefully.
It's best to give the ul a class=“listUnordered”.

Code: Select all

<<ul class="listUnordered">
<li>test</li>
<li>test</li>
<li>test</li>
</ul>
and change in stylesheet.css ~line 846 to

Code: Select all

ul.listUnordered, ul.xh_search_results {
    list-style: none inside;
    margin: 0 0 .75em 0;
}
👉 Ludwig's Templates for MultiPage & OnePage.   „Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“

jop
Posts: 106
Joined: Sun Sep 20, 2009 1:05 pm

Re: PHP

Post by jop » Sat Oct 19, 2024 5:44 am

Bullet list still doesn't work for me unfortunately.

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

Re: PHP

Post by lck » Sat Oct 19, 2024 9:42 am

jop wrote:
Sat Oct 19, 2024 5:44 am
Bullet list still doesn't work for me unfortunately.
Clear the browser cache and reload the page using CTRL+F5 (preferably several times?).
But I guess that's not the problem. For a better understanding of what you want, here is an example of an unordered list.

This is the original appearance in fhs-simple-2019.
fhs-simple-2019_listUnordered_orginal.jpg
Should it look like this?
fhs-simple-2019_listUnordered_example1.jpg
You do not have the required permissions to view the files attached to this post.
👉 Ludwig's Templates for MultiPage & OnePage.   „Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“

jop
Posts: 106
Joined: Sun Sep 20, 2009 1:05 pm

Re: PHP

Post by jop » Sat Oct 19, 2024 10:30 am

Like the original, but my problem is that bullets are offset to the left of the text above (without bullet). Ideally, it should be like when using a numbered list (numbers offset to the right or just below the text above without numbers).
Shown below:
fhs.png
You do not have the required permissions to view the files attached to this post.
Last edited by jop on Sat Oct 19, 2024 10:58 am, edited 1 time in total.

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

Re: PHP

Post by lck » Sat Oct 19, 2024 10:52 am

attachment.jpg
You do not have the required permissions to view the files attached to this post.
👉 Ludwig's Templates for MultiPage & OnePage.   „Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“

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

Re: PHP

Post by lck » Sat Oct 19, 2024 11:40 am

jop wrote:
Sat Oct 19, 2024 10:30 am
Like the original, but my problem is that bullets are offset to the left of the text above (without bullet). Ideally, it should be like when using a numbered list (numbers offset to the right or just below the text above without numbers).
Example

Code: Select all

<ul class="yourclass">
<li>test</li>
<li>test</li>
<li>test</li>
</ul>
stylesheet.css

Code: Select all

ul.yourclass {
    margin: 0 0 0 1em;
}
ul.yourclass li {
    list-style: inside;
}
Result
ul_demo.jpg
You do not have the required permissions to view the files attached to this post.
👉 Ludwig's Templates for MultiPage & OnePage.   „Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“

jop
Posts: 106
Joined: Sun Sep 20, 2009 1:05 pm

Re: PHP

Post by jop » Sat Oct 19, 2024 1:06 pm

Exactly like that :-) - where to change the stylesheet.css ~line ?

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

Re: PHP

Post by lck » Sat Oct 19, 2024 1:47 pm

You can place it anywhere. Ideally at the end of the stylesheet.css.
👉 Ludwig's Templates for MultiPage & OnePage.   „Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“

Post Reply