Skip Navigation

[Resolved] Layout for a single page with a genesis child theme is ok, but the same Layout on an archive is different

This thread is resolved. Here is a description of the problem and solution.

Problem: On the archive page, my content is displayed without any padding. On the single post page, the padding is fine.

Solution: In this case, your theme is removing the padding on these pages. You can override that with the following CSS:

.post-type-archive-lettura.imagely-grid .content {
  padding: inherit; 
}
.post-type-archive-lettura.imagely-grid .footer-widgets {
  display: block; 
}
This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.

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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by charlie 7 years ago.

Assisted by: Christian Cox.

Author
Posts
#586275
Cattura2.JPG
Cattura1.JPG

I am trying to: to create an archive page but it's not integrated with the genesis child instead a single page layout it's perfect

Link to a page where the issue can be seen: hidden link

I expected to see: hidden link (this is single layout page) or hidden link

Instead, I got: a page without the right styling of a content page, without breadcrumbs and footer. I made the two layouts in the same way but something is different. In archive layout it wont read the content tags

#586491
footer.png
padding.png

Hi, I'll be glad to help.
The breadcrumbs and footer are actually included in the page source, but your child theme has some code in place to hide them for some reason I do not understand. The hiding styles are associated with a CSS class called "imagely-grid", and look like they are intended to remove the footer element and page padding on some archives. You can override them on this specific archive with CSS.

I have attached the screenshots padding.png and footer.png, if you're familiar with browser inspector and care to take a look. You can add the following code to your Layouts CSS panel to reveal the breadcrumbs up at the top, apply more consistent padding to the page, and reveal the footer widgets:

.post-type-archive-lettura.imagely-grid .content {
  padding: inherit; 
}
.post-type-archive-lettura.imagely-grid .footer-widgets {
  display: block; 
}
#586497

thank you. I ve modified the archive template deleting add classes. So I solved. tnx a lot. carletto