Site logo

Archived topic

Remove content section

5 replies · Started by Ivan on August 17, 2020

Viewing posts 1–6 of 6

Hello!

I am just starting with GP Premium and already have a question.

I used GenerateBlocks to create a block-hook that I placed after the front page header. I don't want to have anything else on the front page. How can I remove the content section immediately after the block?

Best solution I found was to make the background of the page body white, which kind of hides it, but also creates additional white space at the bottom so that the block content is not centered anymore.

I would also like the block-hook to use the full height depending on the visitor's resolution. Is this possible?

Thank you,
Ivan

Hi there,

Let's take care of one question per topic.

Any reason why the current content is added with a block element?

I feel like that should be in the actual content.

Let me know :)

Hi Leo,

Thank you very much for your response! Following your suggestion, I moved everything to the content section and the page looks much better now!

However, the main reason to do it as a block element was that it gets attached to the header. Now the header and the content section are separated by a grey line (visible on mobile only) which I wanted to avoid on the front page. Anyway, I think I can live with that unless there is an easy solution? :)

For the other question (using the full height) I will open another topic.

Thanks again,
Ivan

Thanks Leo, I will keep this in mind!

No problem :)

This archived topic is closed to new replies.