How can I "remove" or "hide" elements such as the "subscribe" form?

2 replies · opened Sep 13, 2016

PprimetimekimeSep 13, 2016

If I try to use display:none or <div hidden>, the entire page formatting is off.

I would also like to remove or delete other content without losing the format of the page.

I do not want the following in the "coming-soon-3.html" page:

				&lt;div class="divider divider-center divider-short divider-margin"&gt;&lt;i class="icon-time"&gt;&lt;/i&gt;&lt;/div&gt;

				&lt;div class="widget-subscribe-form-result"&gt;&lt;/div&gt;
				&lt;form id="widget-subscribe-form" action="include/subscribe.php" role="form" method="post" class="nobottommargin"&gt;
					&lt;div class="input-group input-group-lg divcenter" style="max-width:600px;"&gt;
						&lt;span class="input-group-addon"&gt;&lt;i class="icon-email2"&gt;&lt;/i&gt;&lt;/span&gt;
						&lt;input type="email" name="widget-subscribe-form-email" class="form-control required email" placeholder="Enter your Email"&gt;
						&lt;span class="input-group-btn"&gt;
							&lt;button class="btn btn-default" type="submit"&gt;Subscribe Now&lt;/button&gt;
						&lt;/span&gt;
					&lt;/div&gt;
				&lt;/form&gt;
PprimetimekimeSep 13, 2016

How can I remove or delete widgets from the pages I want to use?

For example, I like the coming soon pages, but I want to remove content such as the email and the newsletter "subscribe" form?

SSemicolon WebSTAFFSep 16, 2016

Hello,

You can simply delete the Content according to your needs. But it is also recommended that you Delete them from their Start Tags to End Tags to make sure that the Page or Other Elements Formatting is not affected. You can consider following the Tips below:

  1. Consider using a Code Editor like Sublime Text which Highlights the Codes and their Tags making it easier to Delete the Codes correctly.

  2. Validate your Page frequently using the W3C Validator: https://validator.w3.org/ so that you know exactly where you have been going wrong while deleting the Codes.

Hope this Helps.

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard