Skip Navigation

[Resolved] Archive page: top margin, show archive title

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by davidW-32 1 year, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#2529241

I need to adjust the custom archive page for custom post type "Top ERP Anbieter". You can see an example on page hidden link
I want to do the following:
- set top margin to zero so that the first block on the page is shown on top of the page without margin. I applied custom CSS as on the custom template page, but it does not work properly.
- show archive title. I deactived the archive title shown by my Astra Pro theme since it is not shown in the right place. How can I show the archive title in a block on the page?

temporary WP admin login:
hidden link

Thanks, David

#2530125

Hello,

Q2) You can use shortcode [wpv-archive-title] to display the archive page title:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-archive-title

Q1) Which block do you want to set top margin to zero?
Please take a screenshot for it.

#2530129

Q2. Thanks!
Q1. first block on the page must start on top of the page without margin

#2530683
Screenshot_20230109_225929_Chrome.jpg
Screenshot_20230109_230115_Chrome.jpg

first block on the page must start on top of the page without margin. On desktop it works fine, but pease see attached screenshots for mobike and tablet.

#2530773
padding.JPG

Thanks for the details, it is a CSS issue of the file of your website:
hidden link, line 1523:

.tpgb-block-d9a7b6.tpgb-container-row .tpgb-container-col, .tpgb-block-d9a7b6.tpgb-container-row .tpgb-container-col .inner-wrapper-sticky {
    padding: 15px; 
}

You can remove it, or use custom CSS codes to override it.
See my screenshot padding.jpg

More help:
hidden link
hidden link

#2530861

I will check with the support team of ThePlusBlocks plugin. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.