different classes for <li>'s in album_menu

fretzl Administrator, Developer
Hi,

I'm working on a modified default theme which uses the "album_menu".

I need to hide one or more ``'s with CSS.

Is it possible to assign different classes to each generated ``
with a non-active link????? (for instance: ``

I can probably work someting out but I will have to do it all over again with each update..... and I prefer using CSS over JavaScript.

Thanks

Comments

  • acrylian Administrator, Developer
    Which album menu version are you using? It actually only shows the albums context sensitive. Or maybe I don't understand what you want to do.

    The only way to assign direct classes to each
    ` is to modify/hack the plugin.`
  • fretzl Administrator, Developer
    Hi Malte,

    I'm using print_album_menu 1.4.5

    It generates an unordered list from the populated albums, right ?
    Like so:
    ` `
    What I would very much like is that every `` has it's unique class-name.
    Like:
    `` or something like that.

    That way I can style each `` separately with CSS.

    (Ofcourse the `` with the active link in it already gets a class-name and can be styled)

    Cheers
  • acrylian Administrator, Developer
    That surely could be added, but why do you want to style each link differently?
  • fretzl Administrator, Developer
    That way I can make an album which I use but the generated link will not be displayed.

    And I really rather use CSS than a JavaScript workaround.
  • acrylian Administrator, Developer
    Do you want to hide that album from visitors? In that case setting it to unpublished would be the better way.
  • fretzl Administrator, Developer
    That's what I tried first but it did not do the trick. I still saw/see everything.

    By the way, is it just me again or is the search-function not working in 1.2.1
  • If you are still logged in as the admin, you will still see everything.
  • fretzl Administrator, Developer
    Now, that was really stupid of me !! Sorry
    But will the images in the hidden albums show up when I use the search function?
    I can't check because "search" doesn't work since I updated.
    Thanks albeezie
  • acrylian Administrator, Developer
    But will the images in the hidden albums show up when I use the search function?
    No, only if you are logged in.

    Well, there seems indeed to be a problem with the search...
  • fretzl Administrator, Developer
    ....going on about classes for ``
    That's my problem.
    I have two albums "home"and "archive". I want to hide the generated links of those albums.
    (I use a different link for "home" and "archive" is an archive with older images)

    And I'd like the search function to include those albums.

    Thanks acrylian
  • fretzl Administrator, Developer
    Hello,
    Well, there seems indeed to be a problem with the search...
    Any news on search ??
Sign In or Register to comment.