Okay
  Public Ticket #858445
Hover in Portfolio Columnized Template + Current page not assigned
Closed

Comments

  • Christophe started the conversation

    Hello,

    I'm working on the customization of the portfolio columned template. I started from the "Afternoon Chair" page, but when I try to set the hover, I don't see any effects on the bottom gallery and I don't understand what I did wrong.

    The page I'm working on is:
    http://2016.ikesu.org/works/afteroom-chair/

    The settings I put are as seen in the image file I'm sending you.
    Is it maybe because of the Vimeo video as first "element" in the gallery?

    I have another question not related. I've changed the 'portfolio' slug to 'works'. But when I'm in 'works' page (either the main page or a sub page) the 'works' title doesn't have the classes 'current-menu-item' & 'current-page-item' assigned to it. I supposed it's because the script looks for 'portfolio' and not 'works'. Is there a way to correct that?

    Thanks in advance!

    Best Regards,

    Christophe.

  •  1,558
    Laborator replied

    Hi Christophe,

    Can you please send us your WordPress username and password? We need to investigate your site and then get back to you if we have a possible solution.

    Make sure to choose Private Reply when you send us sensitive informations!


    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •   Christophe replied privately
  •  1,558
    Laborator replied

    Hi Christophe,

    Yes, you are right about the portfolio coloring because it is used only for the portfolio page where that item is shown, if you want to colorize the images in a single portfolio you can use this CSS instead of it.

    .single-portfolio-holder .gallery .photo:hover img {
      opacity: 0;
    }
    
    .gallery .photo .image-placeholder {
      opacity: 1;
      background: red;
    }
    

    Regarding the problem with the current menu item, I will assign this ticket to our developer and he will see what we can do about it.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • Christophe replied

    Hi Art, 

    Thank you for the reply! I didn't expect an answer today since in a lot of countries it's a national holiday ;) But maybe not where you are, or you working on national holiday.

    I played with the opacity but I didn't think to access the placeholder to play with color! Thank you!

    About the slug problem, thank you. I will wait.

    Best Regards,

    Christophe.

  • [deleted] replied

    Hi Christohpe, 

    Arlind is here. 

    Yeah, here its different and we didn't had any holiday notice about our government.

    I've installed this plugin:

    https://wordpress.org/plugins/current-menu-item-for-custom-post-types/

    And assigned current menu item "Works" when in single portfolio item:


    (view large version)

    Hopefully this works the way you want.

  • Christophe replied

    Hi Arlind,

    Oh, you did it already and it works! Thank you very much! ;)

    Best Regards,

    Christophe.

  • [deleted] replied

    Hi Christohpe,

    Cool! So now you know how to handle this issue in the future.