Search Results for: missing%20page

Home Forums Reply To: How do I control a form in a hook like I do in a hero element?

Thank you but that didn’t help sorry. I am including the original code below that I had from Aweber before I thought I was changing code correctly per help. Obviously I’ve messed up. I am using this exact code in the hero element which is on the home page at https://hempcontentmarketing.com

This code is for the other pages, but I wanted it to look the same as the home page, but in the bottom element before-footer. Thank you so much for helping me with this.

` <style id=”formCSS”>.awbr-grid .awbr-row{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;width:100%;max-width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0 5px}.awbr-grid .awbr-row [class^=awbr-c-]{box-sizing:border-box;padding:5px}.awbr-grid .awbr-row [class*=”-1″]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.awbr-grid .awbr-row [class*=”-2″]{-webkit-box-flex:2;-webkit-flex:2;-ms-flex:2;flex:2}.awbr-grid .awbr-row [class*=”-3″]{-webkit-box-flex:3;-webkit-flex:3;-ms-flex:3;flex:3}.awbr-grid .awbr-row [class*=”-4″]{-webkit-box-flex:4;-webkit-flex:4;-ms-flex:4;flex:4}.awbr-grid .awbr-row [class*=”-5″]{-webkit-box-flex:5;-webkit-flex:5;-ms-flex:5;flex:5}.awbr-grid .awbr-row [class*=”-6″]{-webkit-box-flex:6;-webkit-flex:6;-ms-flex:6;flex:6}.awbr-grid .awbr-row [class*=”-7″]{-webkit-box-flex:7;-webkit-flex:7;-ms-flex:7;flex:7}.awbr-grid .awbr-row [class*=”-8″]{-webkit-box-flex:8;-webkit-flex:8;-ms-flex:8;flex:8}.awbr-grid .awbr-row [class*=”-9″]{-webkit-box-flex:9;-webkit-flex:9;-ms-flex:9;flex:9}.awbr-grid .awbr-row [class*=”-10″]{-webkit-box-flex:10;-webkit-flex:10;-ms-flex:10;flex:10}.awbr-grid .awbr-row [class*=”-11″]{-webkit-box-flex:11;-webkit-flex:11;-ms-flex:11;flex:11}.awbr-grid .awbr-row [class*=”-12″]{-webkit-box-flex:12;-webkit-flex:12;-ms-flex:12;flex:12}@media screen and (max-width:720px){.awbr-grid .awbr-row{display:block}.awbr-grid .awbr-row div[class^=awbr-c-]{display:block;min-width:100%;width:100%}}.awbr-grid{font-family:helvetica,arial,sans-serif;font-size:12px;color:#333;max-width:100%;background:#EEE;padding:10px 5px;box-sizing:border-box}.awbr-grid h2{font-size:24px;margin:5px 0;padding:0}.awbr-grid p{font-size:16px;margin-bottom:5px;white-space:pre-wrap}.awbr-grid input{border:0;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;font-size:14px;margin:0}.awbr-grid input[type=submit]{background-position:center!important;width:100%;padding:10px;margin-bottom:10px;white-space:normal;background:#AAA;color:#FFF;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px}.awbr-grid input[type=email],.awbr-grid input[type=text]{background-position:center!important;border:none;margin-bottom:10px;padding:10px;width:100%}.awbr-grid #awbr-footer p{text-align:center;font-size:12px}.awbr-grid .awbr-pulse{-webkit-animation:pulse 1.3s ease infinite;animation:pulse 1.3s ease infinite;-webkit-backface-visibility:hidden;backface-visibility:hidden}@-webkit-keyframes pulse{0%,100%{-webkit-transform:perspective(1px) scale(1,1);transform:perspective(1px) scale(1,1)}50%{-webkit-transform:perspective(1px) scale(1.02,1.02);transform:perspective(1px) scale(1.02,1.02)}}@keyframes pulse{0%,100%{-webkit-transform:perspective(1px) scale(1,1);transform:perspective(1px) scale(1,1)}50%{-webkit-transform:perspective(1px) scale(1.02,1.02);transform:perspective(1px) scale(1.02,1.02)}}@media (max-width:600px){[class*=aweberHFormCol-]{padding:0;width:100%}}</style>
<div id=”formHTML”><form class=”af-form-wrapper” accept-charset=”UTF-8″ action=”https://www.aweber.com/scripts/addlead.pl” method=”post”>
<div style=”display: none;”><input name=”meta_web_form_id” type=”hidden” /> <input name=”meta_split_id” type=”hidden” /> <input id=”aweberListId” name=”listname” type=”hidden” value=”awlist5444726″ /> <input id=”aweberRedirect” name=”redirect” type=”hidden” value=”https://goodlivingacres.com/thanks-for-joining-us/” /> <input id=”aweberAdTracking” name=”meta_adtracking” type=”hidden” value=”” /> <input name=”meta_message” type=”hidden” value=”1″ /> <input name=”meta_required” type=”hidden” value=”name,email” /> <input name=”meta_tooltip” type=”hidden” /></div>
<div class=”awbr-grid” style=”background-color: #ffffff; background-image: url(‘http://aweber.design/webforms/beta/’); color: #4a4a4a;”>
<div class=”awbr-row”>
<div class=”aweberHFormCol-1-1″>
<h3 id=”aweberHeadlineTextValue” align=”center”>Get Hemp Industry Information & Farm Progress
<p id=”aweberSubheaderTextValue” style=”display: block;” align=”center”>No Charge – No Spam – Unsubscribe Anytime</p>

</div>
</div>
<div class=”awbr-row”>
<div class=”awbr-c-5″>
<div class=”af-textWrap”><input id=”awf_field-78323082″ class=”text” style=”background-color: #f1f1f1; background-image: url(‘http://aweber.design/webforms/beta/’); color: #4a4a4a;” tabindex=”500″ name=”name” type=”text” placeholder=”Name” /></div>
<div class=”af-clear”></div>
</div>
<div class=”awbr-c-5″>
<div class=”af-textWrap”><input id=”awf_field-78323083″ class=”text” style=”background-color: #f1f1f1; background-image: url(‘http://aweber.design/webforms/beta/’); color: #4a4a4a;” tabindex=”501″ name=”email” type=”email” placeholder=”Email Address” /></div>
<div class=”af-clear”></div>
</div>
<div class=”awbr-c-3″>

<input id=”submitButton” class=”submit awbr-pulse” style=”background-color: #d16100; background-image: url(‘http://aweber.design/webforms/beta/’); color: #ffffff;” tabindex=”502″ name=”submit” type=”submit” value=”Sign Me Up” />
<div class=”af-clear”></div>
</div>
</div>
<div class=”awbr-row”>
<div id=”awbr-footer” class=”awbr-c-12″ style=”display: block;”>

We respect your <a class=”aweberFooterLink” style=”color: #d16100;” title=”Privacy Policy” href=”https://www.aweber.com/permission.htm” target=”_blank” rel=”nofollow noopener”>email privacy</a> | <a class=”aweberFooterLink” style=”color: #d16100;” title=”AWeber Email Marketing” href=”https://www.aweber.com” target=”_blank” rel=”nofollow noopener”>Powered by AWeber Email Marketing</a>
<div class=”af-clear”></div>
</div>
</div>
</div>
<div style=”display: none;”><img src=”https://forms.aweber.com/form/displays.htm?id=jMxMzCxsbEzMzA==” alt=”” /></div>
</form></div>`

Topic: How do I control a form in a hook like I do in a hero element?

Hi David,

I followed this thread from Tom to embed a simple accordion feature: https://generatepress.com/forums/topic/simple-accordion-feature/

Unfortunately the accordion effect does not work. See screenshot.

May I ask you to take a look and let me know what’s missing?

Many thanks in advance.

Best,
Jan

This is…

– the hook I created
– the CSS I added via Customizer
– the classes I added to the page:

<!-- wp:generateblocks/headline {"uniqueId":"2c64fc14","marginBottom":"40","hasIcon":true,"className":"accordion-toggle"} -->
<h2 class="gb-headline gb-headline-2c64fc14 accordion-toggle"><span class="gb-icon"><svg aria-hidden="true" role="img" height="1em" width="1em" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"></path></svg></span><span class="gb-headline-text">Vergangene Veranstaltungen anzeigen</span></h2>
<!-- /wp:generateblocks/headline -->

<!-- wp:generateblocks/container {"uniqueId":"2ceb00c1","isGrid":true,"gridId":"ad17e284","width":100,"widthTablet":100,"paddingTop":"0","paddingRight":"30","paddingBottom":"40","paddingLeft":"30","paddingTopTablet":"0","paddingRightTablet":"0","paddingBottomTablet":"30","paddingLeftTablet":"0","borderSizeBottom":"1","borderSizeTopTablet":"0","borderSizeRightTablet":"0","borderSizeBottomTablet":"1","borderSizeLeftTablet":"0","borderColor":"#667780","borderColorOpacity":0.4,"isDynamic":true,"className":"accordion-content"} -->
<!-- wp:generateblocks/headline {"uniqueId":"d4985711","element":"h3","hasIcon":true,"iconColor":"#de7b7b","iconPaddingRight":"0.6","iconPaddingBottom":"0.2"} -->
<h3 class="gb-headline gb-headline-d4985711"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="1em" height="1em" aria-hidden="true"><path d="M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z" fill="currentColor"></path></svg></span><span class="gb-headline-text">Seminare Veranstaltungen in Corona-Zeiten</span></h3>
<!-- /wp:generateblocks/headline -->

<!-- wp:paragraph -->
<p>Während der Pandemie sind sämtliche Veranstaltungen (Vorträge, Workshops und Seminare) leider ausgefallen. Endlich im Herbst 2021 fand folgende Veranstaltung statt:</p>
<!-- /wp:paragraph -->

<!-- wp:generateblocks/headline {"uniqueId":"7e21f7af","element":"h3","marginTop":"45","marginBottom":"20","hasIcon":true,"iconColor":"#db7965","iconVerticalAlignment":"top","iconPaddingRight":"0.6","iconPaddingBottom":".2"} -->
<h3 class="gb-headline gb-headline-7e21f7af"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z"></path></svg></span><span class="gb-headline-text">Seminar der GKS vom 29.09. - 03.10.2021 in Nürnberg: "3. Lebensphase"</span></h3>
<!-- /wp:generateblocks/headline -->

<!-- wp:paragraph -->
<p>Acht Ehepaaren konnten in vier sehr intensiven Tagen alle wesentlichen Punkte bzgl. des Übergangs aus dem Erwerbsleben in die Phase des aktiven Ruhestandes erläutert werden. Ängste konnten minimiert und die Vorfreude gesteigert werden.</p>
<!-- /wp:paragraph -->

<!-- wp:generateblocks/headline {"uniqueId":"ad961e31","element":"h4","marginTop":"0","marginBottom":"15","marginTopTablet":"0","borderSizeBottom":"1","inlineWidth":true} -->
<h4 class="gb-headline gb-headline-ad961e31 gb-headline-text">Persönliche Erkenntnisse</h4>
<!-- /wp:generateblocks/headline -->

<!-- wp:paragraph -->
<p>Wichtig ist, dass in authentischer Form eigene Erfahrung mit dem Ausscheiden aus dem Berufsleben eingebettet in ein klares Konzept (Körper - Geist -Seele) vermittelt und daraus individuelle Planungen bearbeitet werden.</p>
<!-- /wp:paragraph -->
<!-- /wp:generateblocks/container -->
Topic: GPP / Block Elements / Hook / Simple Accordion

Hey, I just pointed my domain to my new GP site (hosting with siteground).

I had the below dialogue, and thought I should mention it to your support team. Something was blocking the element hooks and jpg’s from loading correctly, and siteground think it is a GP issue. Below is my conversation with one of their technicians who fixed the issue:

Hey, I just switched my nameservers of humanhealth.je to siteground. I am unable to log in. And my site appears broken on other browsers- images arent displaying and CSS styling isn’t loading

Antonia Nikolova

Jul 8, 2022 18:09

Hello,

Thank you for contacting us.

I reviewed your case and before applying any changes I obtained a backup of the website’s database:

baseos | u1459-inmqk8ziaqir@siteground157.com:~/www/humanhealth.je$ ll *.sql
-rw-r–r– 1 u1459-inmqk8ziaqir u1459-inmqk8ziaqir 5150046 Jul 8 09:54 dbcwqrwaeolhg6-2022-07-08-ce4a5ec.sql

I then flushed the WordPress application cache and the SiteGround Optimizer cache, but the issue remained.

There were 5 leftover references to the temporary domain name in the database which I replaced:

baseos | u1459-inmqk8ziaqir@siteground157.com:~/www/humanhealth.je/public_html$ wp search-replace ‘justinf26.sg-host.com’ ‘humanhealth.je’ –all-tables –precise –recurse-objects
Success: Made 5 replacements.

I flushed the 2 levels of cache I mentioned previously again, but the in browser console I could still see the following errors coming up: https://snipboard.io/7rNygG.jpg

Due to the above, I searched for any references to the temporary domain name in any website files and I found a few:

baseos | u1459-inmqk8ziaqir@siteground157.com:~/www/humanhealth.je/public_html$ grep -Ril ‘justinf26.sg-host.com’ *
php_errorlog
wp-content/uploads/generateblocks/style-95.css
wp-content/uploads/generateblocks/style-392.css
wp-content/uploads/generateblocks/style-8.css
wp-content/uploads/generateblocks/style-376.css
wp-content/uploads/generateblocks/style-384.css

I created a backup of the generateblocks directory which can be found here: ~/www/humanhealth.je/public_html/wp-content/uploads/4266730-generateblocks-tar.gz

After that I replaced the temporary domain name with the new one:

baseos | u1459-inmqk8ziaqir@siteground157.com:~/www/humanhealth.je/public_html/wp-content/uploads/generateblocks$ for file in $(grep -Ril ‘justinf26.sg-host.com’ *); do replace ‘justinf26.sg-host.com’ ‘humanhealth.je’ — $file; done
style-384.css converted
style-392.css converted
style-8.css converted
style-95.css converted
style-376.css converted

I cleaned the cache and the images appear to be loading now and I no longer see any errors in the browser console: https://prnt.sc/CO3jMisGYmfB

Please, bear in mind that the above operations were done as a one time exception on my end as they usually fall outside of the scope of our support.

If you still spot issues with the website layout and you’re seeing them even after clearing your browser cache:

https://www.siteground.com/kb/how_to_clear_cache_in_firefox_internetexplorer_safari_opera/

We can only recommend reviewing the setup of your application further in order to potentially locate the reason why there are still issues with it.

Best Regards,

Antonia Nikolova
Technical Support Team
JF
Justin Faulkner

Jul 8, 2022 18:21

Hey, thanks for this.

Images are now loading correctly. But, the footer, header buttons and banner above the header are breaking.

These are created with element hooks. And only break on the home page. What steps should I be taking to fix the issues?

It is odd how these errors only appeared after pointing my domain. They worked fine on the temp domain. Is there anything going on in the DNS?

What can I do to resolve the issue?

Antonia Nikolova

Jul 8, 2022 18:50

Thank you for confirming the images are loading properly.

As for the elements of the website which are not loading properly, I noticed this section on the home page was loading in a broken manner compared to the rest: [url] https://prnt.sc/UXrI2ZcSLM4l[/url]

I found this article here: https://docs.generateblocks.com/article/unstyled-content/ and went to your WordPress Dashboard >> GenerateeBlocks >> Settings >> pressed Regenerate CSS files.

Before doing the above, just in case I created an instant backup called TID4266730 which can be found in Site Tools >> Security >> Backups

You can restore from it if needed or leave it there and it will get removed in 30 days from now. You can also delete it to free up the backup slot.

With the above said, once more the above troubleshooting and applied change was made as a one time personal exception.

Please note that our Technical Support Team is trained to assist with hosting related issues only. Unfortunately, we do not specialize in issues related to a particular software, theme or a plugin or with website/database optimization and fine-tuning or SEO optimization.

Issues related to the website design, in general, fall outside of the scope of our support especially given how many different types of plugins/themes there are and how different their setup may be. Some, for example, hard-code the domain name in their files and a manual replacing may be needed. In some situations specific caching layers may prevent the website from showing up properly, however, debugging this specifically as well is not something we generally offer assistance with.

If you still spot issues with the website, you may consider reaching out to the support team of the plugin/theme with which the specific layout on the website was added or contact a professional developer for further assistance.

Best Regards,

Antonia Nikolova
Technical Support Team
JF
Justin Faulkner

Jul 8, 2022 19:00

Hey Antonia,

Thanks for this. It is odd how this occurred after the domiain change?

Thank you so much for all of your help with this – I dont know what I would have done.

Is this something I should raise with Generate Press – the theme’s support?

I have to access the site through Safari at the moment. At the moment Chrome displays the old squarespace site. I have cleared the cache, but assume it just needs some time to register the change.

Thanks again

Justin

Antonia Nikolova

Jul 8, 2022 19:08

You are most welcome.

As Generate Press is a 3rd party service, we cannot give a detailed answer in regards to the reason why this issue occurred.

I have suspicions that it was a caused by a combination of the following feature being used: https://docs.generateblocks.com/article/unstyled-content/ and the fact that the images, for instance, were saved in the CSS files in the following manner:

background-image:url(https://humanhealth.je/wp-content/uploads/2022/07/Chiropractor-Jersey.jpg);

As you can see the domain name is mentioned.

The temporary domain name used to be there instead.

When you change the primary domain name we perform a change in the database, however, the standard wp-cli command is used to replace any http(s)://$old_domain.com references with the new one:

However, certain plugins/themes may have a feature which saves the original domain name URL in a specific file or files in a specific folder. Given the fact that there are many themes/plugins out there each having their own individual setup and directory or even directories where they may have saved this information, it is close to impossible to automate a process which can address all of these hypothetical scenarios.

Due to the above, if such a thing occurs the references would need to be replaced manually.

Still, in order to get a detailed and more accurate answer, if you would prefer, you may raise this with the support team of Generate Press.

As for your not being able to see the website being loaded from our servers, if you recently pointed the domain name to us, that is normal as there is ongoing propagation: https://www.siteground.com/kb/what_is_dns_propagation_and_why_it_takes_so_long/

Best Regards,

Antonia Nikolova
Technical Support Team

Topic: Issue with elements and JPG images not loading after domain pointing