Support » Plugin: NGG Smart Image Search » CSS classes

  • Hi Harald,

    I love your gallery search. It’s going to make image research a lot easier for the society that I am helping.

    Would it be possible to include some css classes in the search result so that I can format them to look like the website’s gallery views? At the moment, all of the styles look to be hard-coded into the html.

    thank you


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wpo-HR


    Hi Jason,

    you are right about the hard-coded styles.
    And yes, it should be possible to include some css classes in the next release with respect to the self-coded result lists. In addition, I will add generic parameters so that the result list can use any possible NextGEN gallery or parameter (exept paging).
    If you like you could send me some suggestions for css class inclusions.

    Best regards,

    Hi Harald, that sounds great! Thankyou for that.

    I made a short term change to the …public.php file that included adding the following classes in the advanced_thumbnails section: ngg-galleryoverview, ngg-gallery-thumbnail-box, ngg-gallery-thumbnail so I am able to style the gallery view and search results to be exactly the same. I did also amend the direct link to the filename to point instead to the NextGen single image page, but that’s not my greatest bit of coding as hardcodes the path, and the forward and back buttons take you through the album the image is in rather than the search results.

    Thank-you again for considering the changes. Your search plugin was recommended to me by Imagely.



Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS classes’ is closed to new replies.