Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #59004
    effess
    Participant

    Catch Kathmandu Pro: I’m creating galleries with thumbnail images that are linked to attachment pages. Here’s a screenshot of an attachment page: http://www.effessdesign.com/WP-samples/attach-pg-screenshot.jpg.

    1) Can you please provide CSS to display:none the areas that are “marqueed” here? (We just want the breadcrumbs, photo and description to show.

    2) When the thumbnail is clicked, the attachment page opens so that the header and breadcrumbs aren’t visible and it’s necessary to scroll up to see them. Can that be changed so the page opens at the top?

    Thanks for your support!

    #59052
    Sakin
    Keymaster

    @effess:
    1. You can add the following css in “Appearance => Theme Options => Custom CSS” box:

    .single-attachment .entry-header .entry-title,
    .single-attachment .entry-meta { display: none; }

    2. Not sure what you mean. Maybe you can check this cool gallery demo http://catchthemes.com/demo/catch-kathmandu/gallery/ where we use JetPack plugin “Carousel and Tiled Galleries” module

    Please post in your site URL so that I can understand your requirement better.

    #59852
    effess
    Participant

    Please see http://www.sonomalavender.com/wp/lavender-products/bath-body/ and click on one of the thumbnails. Can’t figure out how to remove the /#main from the attachment page that opens. Thank you!

    #59967
    Sakin
    Keymaster

    @effess: If you want to remove that then you need to build child theme. For child theme refer to http://catchthemes.com/blog/create-child-theme-wordpress/ where you can even download sample child theme. Then add the following code in your child theme functions.php file.

    function catchkathmandu_unhook_functions() {
    	remove_filter( 'attachment_link', 'catchkathmandu_enhanced_image_navigation', 10, 2 );
    }
    add_action( 'init','catchkathmandu_unhook_functions');
    #60005
    effess
    Participant

    It worked! Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘attachment page’ is closed to new replies.