Remove icons
bigu_c
Joined: 2007-10-28
Posts: 421 |
Posted: Sat, 2012-11-03 09:28 | |||
Hi, I want to remove "View full size" and "Photo details" in sidebar: [img]http://gallery.menalto.com/files/1_28.jpg[/img] How can I do this? Thanks.
|
||||
Posts: 1857
For "view full size" just remove the view full size permission.
For "Photo details" add this to the bottom of your theme's screen.css file:
#g-exifdata-link{display:none}
Posts: 421
Hi tempg,
Second problem resolved.
But in first question, I want allow users open full size image by clicking on resized photo, but hide that icon.
Thanks.
Posts: 27300
Need a url to see if that item has a id or a unique class then you can remove it with .css
or you might be able to use jquery to remove it as well if there is something unique about it.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 31
If you want to completely remove that link from the Sidebar, it's in:
\themes\YOURTHEME\views\photo.html.php
Remove these lines:
If you would like a less brute-force method, you could go into \themes\YOURTHEME\css\screen.css and add display:none; to the .g-fullsize-link class:
Posts: 1857
Thanks, @morganfeldon.
Posts: 421
I used custom code CSS above.
Icons now is not available in sidebar.
But if view source code in photo page, I still see:
So how to complete remove this?
Thanks.
Posts: 1857
CSs doesn't remove code from the page.
http://galleryproject.org/node/109561#comment-399622
Posts: 421
And code morganfeldon posted above is not available on GreyDragon theme.
Posts: 1857
Then you'd have to sort through your specific theme to see where the links are created.
If the CSS works, the code doesn't really matter; the user still won't see the links/icons/whatever is there.
Posts: 421
Here is photo file, please tell me which lines I have to remove.
Thank you.
Posts: 1857
Posts: 421
But Google Bots reads them, then index my images with wrong title.