SMF Tricks

SMF Tricks Themes => Premium Themes => Topic started by: Pipee on July 10, 2015, 07:17:52 PM

Title: StickUp [SMF 2.0]
Post by: Pipee on July 10, 2015, 07:17:52 PM

StickUp - Responsive Theme
(https://smftricks.com/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FNlOe4nm.png&hash=2d2395fb8660b88b9a64be58112efc93937ead7c)
Spoiler
(https://smftricks.com/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FpeHxeBn.png&hash=c925b0afb1a6afd208c5417a681273374b6364ce)
[close]

Responsive Theme
Spoiler
(https://smftricks.com/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FqrLjDJN.png&hash=f8abca55a2edac5371431466ac3833f5547d7839)
[close]

http://smftricks.com/index.php?action=store;sa=view;id=14

Title: Re: StickUp
Post by: Pipee on July 23, 2015, 09:00:03 PM
Theme Update // Actualización del Theme
Title: Re: StickUp
Post by: Mimmi on October 09, 2015, 01:57:17 PM
I'v just bought and installed your theme.  :) I need to have three color variants of it, to use on different boards. How do I achieve that. Just make a copy of red.css and adjust it? If so, how do I choose what color of the theme to use?  Or should I make a copy of the whole theme?
Title: Re: StickUp [SMF 2.0]
Post by: Mimmi on December 07, 2015, 04:15:29 PM
This is probably not the right way to do it, but just in case anybody else need a quick fix, I share mine:

When clicking the parent in the menu the menu toggles/collapses, but I want to be able to go to the link of the parent. I need to both go to the link of the parent and show/unshow the children.

I changed the code in index.template.php. Go to:
echo '
<ul class="treeview-menu">';


Add after so that the code becomes:
echo '
<ul class="treeview-menu">';
echo '<li><a href="', $button['href'], '"', isset($childbutton['target']) ? ' target="' . $childbutton['target'] . '"' : '', '>', $button['title'],'</a></li> ';

foreach ($button['sub_buttons'] as $childbutton)