[Support request] How do I customize the Attachment page?

Home Forums Support [Support request] How do I customize the Attachment page?

Home Forums Support How do I customize the Attachment page?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2190194
    Marty

    I need to modify the default for the image on the attachment page.

    Currently the class is .attachment-medium size-medium

    Better yet, how do I create a custom page?

    #2190244
    Ying
    Staff
    Customer Support

    Hi Marty,

    Any chance you can link us to the site in question?

    You can use the private information field.
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know 🙂

    #2190786
    Marty

    I am working in LOCAL

    #2190808
    Ying
    Staff
    Customer Support

    The attachment page is handled by WordPress, the theme has no control over it.

    I would recommend checking with WP support.

    #2190938
    Marty

    OK, disappointing answer. Will I have to make a Child Theme to do this? Is making a Child Theme in GeneratePress the same as making a Child Theme in WordPress?

    #2191005
    Ying
    Staff
    Customer Support

    Here’s the guide on how to create a child theme with GP:
    https://docs.generatepress.com/article/using-child-theme/

    I haven’t tried, but I think block element - content template should work. You can assign it to mediaas location:
    https://docs.generatepress.com/article/block-element-content-template/

    You can use the dynamic content block (with GP logo as icon) as the media content eg. images.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.