Skip to main content
Topic: Smooth - ElkArte Theme (Read 14906 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Smooth - ElkArte Theme

Reply #45

Quote from: Wizard – How can I remove the variant option ?
I though I could answer now, but there are a couple of things that require a bit of explanation...
This evening. ;D
Bugs creator.
Features destroyer.
Template killer.

Re: Smooth - ElkArte Theme

Reply #46

Sure. Thanks.

Re: Smooth - ElkArte Theme

Reply #47

Okay, here I am.

First thing you have to remove the variants declaration from index.template.php: open it, search for:
Code: [Select]
'theme_variants' => array('light', 'besocial'),
and replace the string with:
Code: [Select]
'theme_variants' => array(),
This covers the "remove the option to select a variant.
Then, you can delete in the "css" folder the directories "_light" and "_besocial".

Actually, this morning I though it was more complex because I was thinking at another thing... :-[
Bugs creator.
Features destroyer.
Template killer.

Re: Smooth - ElkArte Theme

Reply #48

Actually " Silk " is a CSS mod of _light. So I would to rename it as Silk and get rid of _besocial.

Re: Smooth - ElkArte Theme

Reply #49

I changed it to

Code: [Select]
'theme_variants' => array('light'),

How can I rename " light " to " Silk " ? And which all templates to keep ?

Re: Smooth - ElkArte Theme

Reply #50

If you have just one, you don't need to have any variant at all (also because it may be slightly confusing, even though it may be nice to keep it in case you want to add in the future... oh well, up to you :P).
Anyway, to change light to silk you just have to change it and rename the "_light" directory and the files inside (e.g. indx_light.css) it to "_silk" (and "index_silk.css" and so on).
Bugs creator.
Features destroyer.
Template killer.

Re: Smooth - ElkArte Theme

Reply #51

Great ! So, only _silk and index.template.php ?

Re: Smooth - ElkArte Theme

Reply #52

I'm not sure what you mean, but I guess... yes. :P
Bugs creator.
Features destroyer.
Template killer.

Re: Smooth - ElkArte Theme

Reply #53

Let me try the new package.  ;)

Re: Smooth - ElkArte Theme

Reply #54

Works fine. Thanks.

But when I remove " Silk " from array, it was not loading any css at all. So left " Silk " inside the array ()

Will upload the latest package now.


Re: Smooth - ElkArte Theme

Reply #56

It should be.
You'll have to drop some stuff (e.g. the initialization of superfish/click in theme.js and some css, but should e doable. ;)
Bugs creator.
Features destroyer.
Template killer.

 

Re: Smooth - ElkArte Theme

Reply #57

Help me :D

Re: Smooth - ElkArte Theme

Reply #58

Ok, replaced the menu. But some button class is over riding menu listing.

Screen shot






Re: Smooth - ElkArte Theme

Reply #59

However, responsive version has improved after new addition