WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

You are not logged in.

#1 14.01.2024 22:35:14

luc1949
Member

Header problem in Just The Facts

Good afternoon,

I am finally preparing to move away from Andreas00 to Just The Facts as I find it super clean and works on mobile phones too.
I would like to replace the Website Title by an image (a logo).
Can you help me modify the css file so that it works properly on a PC, Tablet and mobile phone.

Thank you and best regards

Luc

Offline

#2 14.01.2024 22:36:03

luc1949
Member

Re: Header problem in Just The Facts

By the way the site name is www.cartotheque.ca

Offline

#3 15.01.2024 07:50:25

florian
Administrator

Re: Header problem in Just The Facts

You habe to edit the index.php file of the template.
1) Copy your logo file into the template's directory (/templates/justthefacts/)
2) In the /modules/templates/justthefacts/index.php, change line 39

<div class="wtitle"><a href="<?php echo WB_URL; ?>"><?php echo WEBSITE_TITLE; ?></a></div>

to

<div class="wtitle"><a href="<?php echo WB_URL; ?>"><img src="<?php echo TEMPLATE_DIR; ?>/Logo_site simple 2023.jpg" alt="<?php echo WEBSITE_TITLE; ?>"></a></div>

Sorgen sind wie Nudeln: man macht sich meist zu viele.

Offline

#4 15.01.2024 16:25:41

luc1949
Member

Re: Header problem in Just The Facts

Works perfectly, thank you Florian!

Offline

Liked by:

florian

Board footer

up