Site logo

Archived topic

removing div tags

5 replies · Started by Simon on December 13, 2021

Viewing posts 1–6 of 6

Hi Simon,

Can you specify which part of the page did you spot this? To check if it's an excess or an actual important delimiter tag as we can't just remove things if it's actually being used for proper HTML delimiting.

Let us know.

Hi elvin
Thanks for such a quick response.
I have added a screenshot of the page (it's the gap highlighted in yellow)
Best wishes Simon

Thanks!

Is the main goal to remove the excess space?

If so, that's not caused by the divs. I've inspected the page and you seem to have an icon assigned to the "What I Can do for you" GB Headline block. As shown here - https://share.getcloudapp.com/WnukLy5N

You can remove the icon on the Headline block to remove this space.

As for the closing div tags: We can't remove them as they're in use by GenerateBlocks. These closing div tags you see are for the nested divs generated by GB. :D

Hi Elvin
Thanks ever so much for this. I removed the icon (didn't realise it was there!) and that has closed up the gap.

The other thing I was hoping to pick your brain on was how the page scrolls to the top after the form has been completed.
I turned off the scroll to top function but that didn't help.
I have the same form running on other Generatepress sites, so guess it must be something in the landing theme?
It does it on mobile and desktop, but not so noticeable on tablets where the whole screen is visible without a scroller.
I've done a screen capture of what happens if you did have a chance to look.
Best wishes

https://drive.google.com/file/d/1N4AZG0w_LQrO-jwNi57dEoP5s0bT95zO/view?usp=sharing

***EDIT*** I changed the contact form from Javascript code to Javascript Jquery code and jumping to the top of the page has now been resolved :-)

***EDIT*** I changed the contact form from Javascript code to Javascript Jquery code and jumping to the top of the page has now been resolved 🙂

Thanks for letting us know. Glad you got it sorted. :D

This archived topic is closed to new replies.