{"id":14190,"date":"2021-09-02T21:28:05","date_gmt":"2021-09-03T02:28:05","guid":{"rendered":"https:\/\/launchflows.com\/?post_type=documentation&p=14190"},"modified":"2022-03-20T18:02:21","modified_gmt":"2022-03-20T23:02:21","slug":"how-to-hide-any-component","status":"publish","type":"documentation","link":"https:\/\/launchflows.com\/documentation\/how-to-hide-any-component\/","title":{"rendered":"Hide Any Component"},"content":{"rendered":"
Sometimes you may wish to hide one or more of the standard checkout or product components from being visible on the front end.<\/p>\n
A popular example of this is to hide the “Order Notes” (Additional) checkout fields.<\/p>\n
Since LaunchFlows displays all standard components unless you relocate or hide them, use this method to hide any component.<\/p>\n
In Gutenberg blocks, you can add “lf-hide<\/strong>” (without quotes) to the Advanced\/Additional Class(es) box for any widget.<\/p>\n <\/a><\/p>\n If you are using the free Editor Plus<\/a> plugin for Gutenberg:<\/p>\n a) First, click the three dots to the right of your LaunchFlows block and select “Group”, to turn block into a Group Block<\/p>\n <\/a><\/p>\n b) Second, select the block to hide then click the “Extras” tab on right side, and from the dropdown choose Display “None”<\/p>\n <\/a><\/p>\n c) The component will change colors to light grey to reflect that it is hidden.<\/p>\n <\/a><\/p>\n To hide any shortcode, simply wrap them with the following syntax:<\/p>\n To hide the title of the Billing or Order Review Components in Gutenberg blocks, you can add “lf-hide-title<\/strong>” (without quotes) to the Advanced\/Additional Class(es) box for any widget.<\/p>\n <\/a><\/p>\n To hide any shortcode, simply wrap them with the following syntax:<\/p>\n Simply slide the option toggle to “hide” any Elementor Component Widget. The component will change colors to red in the editor to reflect it is hidden.<\/p>\nHide Shortcodes<\/h3>\n
<span style=\"display:none\">[shortcode goes here]<\/span><\/code><\/pre>\n
Hide Billing or Order Review Titles<\/h3>\n
Hide Shortcodes Titles (for Billing or Order Review Components Only)<\/h3>\n
<span class=\"lf-hide-title\">[shortcode goes here]<\/span><\/code><\/pre>\n
Hide Elementor Widgets<\/h3>\n