Removing category view photo counts

Retinal HighRetinal High Registered Users Posts: 9 Beginner grinner
edited April 11, 2008 in SmugMug Support
Can one the gurus/hero's please let me know how I can delete or hide the gallery count as well as the photo count that appear next to my categories if I set my homepage to category view? Thanks in advance guys..and ladies!
:bow

Comments

  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited April 10, 2008
    Can one the gurus/hero's please let me know how I can delete or hide the gallery count as well as the photo count that appear next to my categories if I set my homepage to category view? Thanks in advance guys..and ladies!
    bowdown.gif

    There are two ways to do this:

    1) If you set all the galleries in the category to "Clean: Yes" in the gallery customization, the totals at the category level will go away.

    2) If you have a power or pro account, you can use CSS to hide all the counts:

    /* hide the update times for galleries */
    p.updated {display:none;}
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • Retinal HighRetinal High Registered Users Posts: 9 Beginner grinner
    edited April 11, 2008
    jfriend wrote:
    There are two ways to do this:

    1) If you set all the galleries in the category to "Clean: Yes" in the gallery customization, the totals at the category level will go away.

    2) If you have a power or pro account, you can use CSS to hide all the counts:

    /* hide the update times for galleries */
    p.updated {display:none;}

    Thanks for the quick reply JFriend! My galleries already have the update time removed. My main issue is that I use the category view for my vistors on my home page, the galleries within the categories are set up just the way I would like and include a description. If I set each gallery to CLEAN then the gallery and photo counts do dissapear on the homepage but I also end up losing the descriptions for those gallerys, which I would like to keep. So in essence the question now is, how would I remove the gallery and photo counts on my homepage set to category view but still keep the descriptions on the gallerys in those categories? CSS, JAVA? Again thanks so much for the response and any further help, it is greatly appreciated..thumb.gif
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited April 11, 2008
    Thanks for the quick reply JFriend! My galleries already have the update time removed. My main issue is that I use the category view for my vistors on my home page, the galleries within the categories are set up just the way I would like and include a description. If I set each gallery to CLEAN then the gallery and photo counts do dissapear on the homepage but I also end up losing the descriptions for those gallerys, which I would like to keep. So in essence the question now is, how would I remove the gallery and photo counts on my homepage set to category view but still keep the descriptions on the gallerys in those categories? CSS, JAVA? Again thanks so much for the response and any further help, it is greatly appreciated..<img src="https://us.v-cdn.net/6029383/emoji/thumb.gif&quot; border="0" alt="" >

    I don't have time at the moment to figure this out, but a quick look at the HTML shows that it looks like this:

    <*p class="description">51 galleries with 1474 photos.<*/p>

    That means that the CSS:

    p.description {display:none;}

    would hide these. I didn't look at all the other pages to see what else might have a "p.description" class also. If there are other things that you don't want to disappear, then you'd have to scope this CSS to affect the category page only, probably using the category class from the body tag.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • Retinal HighRetinal High Registered Users Posts: 9 Beginner grinner
    edited April 11, 2008
    jfriend wrote:
    I don't have time at the moment to figure this out, but a quick look at the HTML shows that it looks like this:

    <*p class="description">51 galleries with 1474 photos.<*/p>

    That means that the CSS:

    p.description {display:none;}

    would hide these. I didn't look at all the other pages to see what else might have a "p.description" class also. If there are other things that you don't want to disappear, then you'd have to scope this CSS to affect the category page only, probably using the category class from the body tag.

    THANKS!!! That did the trick and nothing else seems to be affected by removing that specific item. As always your help to the people on this board is a true asset to this forum and to smugmug. Much appreciated dude!<img src="https://us.v-cdn.net/6029383/emoji/bowdown.gif&quot; border="0" alt="" >
Sign In or Register to comment.