Topic Closed
cs
80 Posts

Hi,

in OnePageToolkit (1.0b1) when selecting in the gadget-settings "none" for "show arrows" the first/last arrows still appear. Is that the way it is meant to be?

Thanks CS

3 years ago#9557

juergen
1.4K Posts
51.6K Downloads
16 Plugins
design, web development & visual effects

Is that the way it is meant to be?

No, it isn't - here is the fix:

In Admin_OnePageToolkit.php from line 685, just add the grren marked lines:

    if( $gc['show_arrows'] == 'none' ){
    $css .= '
ul.OPTK-scrollIndicators li.OPTK-scrollFirst,
ul.OPTK-scrollIndicators li.OPTK-scrollFirst + br,
ul.OPTK-scrollIndicators li.OPTK-scrollLast,
ul.OPTK-scrollIndicators li.OPTK-scrollLast + br,
ul.OPTK-scrollIndicators li.OPTK-scrollPrev,
ul.OPTK-scrollIndicators li.OPTK-scrollPrev + br,
ul.OPTK-scrollIndicators li.OPTK-scrollNext,
ul.OPTK-scrollIndicators li.OPTK-scrollNext + br {
display:none;
}
';
    }

Save and afterwards go to the Admin page and save the options again (which will rewrite the Gadget's CSS).

Thanks for the heads up!

 

edit: I just changed it on my addons page (but didn't make a new version).
So you could re-download 1.0b1 and overwrite Admin_OnePageToolkit.php in you current installation.

Edited: 3 years ago#9560

cs
80 Posts

Hi J├╝rgen,

works great, thanks for the fix!

3 years ago#9561

Topic Closed

 

News

Typesetter 5.1
8/12/2017

Typesetter 5.0.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

Over 8 Times Faster Than Wordpress
5/3/2016

We've known for a long time that Typesetter is fast. It's something we take pride ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register