Thread Tools Display Modes
  #1  
Old 09-08-2019, 05:28 PM
hym4's Avatar
hym4 is offline
Junior Member
 
Join Date: Aug 2019
Posts: 2
Default

CSS to remove Print Button from Legal Pages


Hello,

I want to hide the Print button from legal pages using CSS. I looked in the knowledge base but didn't find any reference to it.
  #2  
Old 09-11-2019, 06:55 PM
Cyril D's Avatar
Cyril D Cyril D is offline
Ecwid Team
 
Join Date: Feb 2015
Location: Ecwid HQ
Posts: 530
Default

Hello there!

This is Cyril, Ecwid Customer Care team.

Quote:
Originally Posted by hym4 View Post
I want to hide the Print button from legal pages using CSS. I looked in the knowledge base but didn't find any reference to it.
To hide the "Print" button from all Legal Pages, add the following CSS code to your store CSS theme:

Code:
/* Hide the "Print" button from the Legal Pages — BEGINNING */

 .ec-size .ec-store.ec-store__legal-page .ec-page-button--print { display: none; }

/* Hide the "Print" button from the Legal Pages — END */
Just in case, here's how to add a CSS code to your Ecwid store:

I hope this helps!
__________________
Cyril D.
Ecwid Customer Care Team

More tips and hints on Ecwid use in our Help Center

⬇ Please click Thanks if my reply helped you.
  #3  
Old 09-12-2019, 01:34 PM
hym4's Avatar
hym4 hym4 is offline
Junior Member
 
Join Date: Aug 2019
Posts: 2
Default

Great, it works! Thanks Cyril.
  #4  
Old 05-22-2020, 11:14 PM
ValeriiM's Avatar
ValeriiM ValeriiM is offline
Junior Member
 
Join Date: May 2020
Posts: 1
Default

Quote:
Originally Posted by Cyril D View Post
Hello there!
Code:
/* Hide the "Print" button from the Legal Pages — BEGINNING */

 .ec-size .ec-store.ec-store__legal-page .ec-page-button--print { display: none; }

/* Hide the "Print" button from the Legal Pages — END */
I hope this helps!
Hi! This code doesn't work.
Maybe there's another code?
  #5  
Old 06-09-2020, 01:40 PM
Terry D's Avatar
Terry D Terry D is offline
Ecwid Team
 
Join Date: Mar 2020
Posts: 1
Default

Quote:
Originally Posted by ValeriiM View Post
Hi! This code doesn't work.
Maybe there's another code?
Hi Valerii,

This is Terry from Ecwid Team. Thanks for reaching us out!

I checked your Ecwid Admin > Design > Custom CSS theme and found one code without a closing curly brace:

HTML Code:
/*Убрать время доставки из корзины*/
span.ecwid-shippingOption-days, span.ecwid-Invoice-ShippingDetails-transitTime {
display:none !important;
That’s why the codes you’ve pasted after this CSS code don’t work on your site.

So, please, add “ } “ after that code. Please, check my screenshot: https://ecwid.d.pr/GYeU0O

After that, you can hide the Print button from your Legal Pages with the help of this CSS code:

HTML Code:
/* Hide the "Print" button from the Legal Pages — BEGINNING */

 .ec-size .ec-store.ec-store__legal-page .ec-page-button--print { display: none; }

/* Hide the "Print" button from the Legal Pages — END */
Please follow my instructions on how to apply this code:

— Open your Ecwid Control Panel > Design.
— Click the Edit Theme button.
— Insert the code to your active CSS theme under your current codes.
— Click the Save button.

As a result, the Print button will be hidden from your Legal Pages.

Hopefully, it helps. Feel free to contact us if any questions arise.

Last edited by Terry D; 06-09-2020 at 01:43 PM.
The Following User Says Thank You to Terry D For This Useful Post:
ghd sports (09-21-2020)
 

Tags
button, css, print

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:59 AM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.