hide opacity

Posted almost 8 years ago by Kasper

Post a topic
Answered
K
Kasper

In the older version the opacity was hidden with this line: 


/* Hides the opacity slider */

.fpd-opacity-option { display: none !important; }


How can i hide this in the new version?


0 Votes

D

Deleted Agent posted almost 8 years ago Best Answer

You can use this bit of custom CSS to hide the opacity slider only:

[data-defaulttext="Transparency"]{display: none !important;}


If you need to hide something else you can usually find a data-defaulttext for those elements with your browsers inspection tool.

0 Votes


6 Comments

Sorted by
F

FPD Customer posted over 2 years ago

Keine der hier angezeigten Lösungen funktioniert! 

0 Votes

D

Deleted Agent posted almost 8 years ago Answer

You can use this bit of custom CSS to hide the opacity slider only:

[data-defaulttext="Transparency"]{display: none !important;}


If you need to hide something else you can usually find a data-defaulttext for those elements with your browsers inspection tool.

0 Votes

S

Stefan Urbi posted almost 8 years ago

deleting this lines in the /templates/productdesigner.php

<div class="fpd-slider-group fpd-clearfix fpd-tooltip" data-defaulttext="Transparency" title="toolbar.transparency">

       <span class="fpd-icon-transparency"></span>

          <input class="fpd-slider-number fpd-number" type="number" value="1" step="0.01" min="0" max="1" data-control="opacity" />

          <div class="fpd-range-wrapper">

            <input class="fpd-slider-range" type="range" value="1" step="0.01" min="0" max="1" data-control="opacity" />

          </div>

         </div>


worked out for me, but is not the way you should normaly do that

0 Votes

S

Stefan Urbi posted almost 8 years ago

oh care i figured out that it also removes the slider to transform objekts 

0 Votes

K

Kasper posted almost 8 years ago

thnx!

0 Votes

S

Stefan Urbi posted almost 8 years ago

Hi Kasper,


i am only an other user ... but this should work:

.fpd-slider-group{display: none !important;}

Greets

0 Votes

Login or Sign up to post a comment