- This topic has 4 replies, 2 voices, and was last updated 9 years, 3 months ago by effess.
-
AuthorPosts
-
June 5, 2015 at 9:30 pm #59004effessParticipant
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!
June 6, 2015 at 5:03 pm #59052SakinKeymaster@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.
June 20, 2015 at 11:10 pm #59852effessParticipantPlease 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!
June 23, 2015 at 11:04 am #59967SakinKeymaster@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');
June 24, 2015 at 12:39 am #60005effessParticipantIt worked! Thank you!
-
AuthorPosts
- The topic ‘attachment page’ is closed to new replies.