Template for a custom post type

Hi there, I have followed this thresd: https://theme.co/apex/forum/t/custom-post-type-template-override/9055/4

And I managed a new template for my custom post type. I have put inside wp-single-my-custom-post-type.php the code for have a fullwith template. The sidebar is disappeared, but the x-main have always the “left” class and the with is not 100%.

How can I resolve?

Thank you very much

Hi Alessandro,

Thank you for writing in, the instruction provided on that thread is to copy the file single.php and wp-single.php, as you know the wp-single.php template is not a fullwidth.

If you need that to be a fullwidth, open/edit that file find this line <div class="x-container max width offset"> and remove the class max width from that line.

Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself.

Thank you for your understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.