ElkArte Community

Elk Development => Theme development => Topic started by: Wizard on October 20, 2015, 01:16:00 am

Title: Logo on left hand side
Post by: Wizard on October 20, 2015, 01:16:00 am
I wonder why we have these 2 logo system ? One linkable text logo at left and image logo at right. Wouldn't it be nice to have 2 classes only.  1. Logo and 2. header ?

Is it possible to modify ElkArte code to above said logo system ?
Title: Re: Logo on left hand side
Post by: emanuele on October 20, 2015, 05:32:13 pm
O_o
Where does Elk have two logos?
There is the name of the forum on the right and the logo on the left.

Are you suggesting to modify the default theme, or do you want to know how to modify your custom theme?
Title: Re: Logo on left hand side
Post by: anagnam on October 21, 2015, 01:28:30 am
@emanuele yes I want to know also how to modify so I can create my custom theme. thank you.
Title: Re: Logo on left hand side
Post by: Wizard on October 21, 2015, 02:29:51 am
Quote from: emanuele – Are you suggesting to modify the default theme, or do you want to know how to modify your custom theme?

Yes, custom theme. How to display only one name in header, on left, linkable. And turn of whatever we have now on right.

Title: Re: Logo on left hand side
Post by: emanuele on October 24, 2015, 08:16:13 am
Sorry for the late reply, but it has been another somehow busy week.

So, yes, the header is in index.template.php, I don't remember exactly the line, but searching for "logo" will bring you there in no time.
The current code is a bit fancy because it supports three headers: logo on the right and name on the left, logo on the left and name on the right, only logo centered.
You can change that bit of template and remove whatever you don't need.
If the logo is the thing you want to keep, you could even just select the "centered logo" option and then float it on the left.
Title: Re: Logo on left hand side
Post by: ahrasis on October 25, 2015, 10:02:09 pm
Quote from: Wizard – Yes, custom theme. How to display only one name in header, on left, linkable. And turn of whatever we have now on right.

Shouldn't be that hard as that is almost using default while hiding the logo on its right. FaceIt theme of mine has name on the left and menu on the right.