I'm having a problem where when I set "Titles inside + Masonry Layout" for Portfolio Settings/Portfolio Layout/Thumbnail Options, the color I choose for "Hover color background for this type" isn't being displayed when I look at my portfolio page. Neither the like icon nor the hover effect background is displayed in the color I set in said portfolio control panel.
However, when I choose "Visible Titles" or "Titles Inside" the color that I set in "Hover color background for this type" is being displayed correctly on the live portfolio page.
I determined the variable "$hover_color" isn't being set correctly for the portfolio setting in question. This is for the element: "#portfolio-2.portfolio-holder .item-box .thumb .hover-state". It always reverts back to #ebebeb for me in "Titles inside + Masonry Layout".
The transparency setting in Portfolio Settings/Portfolio Layout/Portfolio Layout Type works on the other hand.
Could you confirm this working correctly on your end? I can't rule out whether I set a custom CSS at some point in time, but I searched basically everywhere in the settings of my Wordpress installation and in the back-end but can't find anything that I might have forgotten to take out. I already disabled any custom CSS I could. The color still doesn't stick.
Edit: I just tried to create a separate custom portfolio page with "Portfolio Page" as template and none of the preferences from "Parameters and Options" in the "Edit Page" window seem to stick. I can set "Page Options" and those are applied, but nothing from "Parameters and Options".
Can you please share your site credentials here, because we need to login to your site and see this issue live. Your information is safe (private) in this thread. To include your credentials click Insert Credentials button in editor toolbar. (See how)
Art, it doesn't look like I have the permission to give other persons administrative access to this site due to security concerns. Is there anything else I can do? (EDIT: please see the end of this message for a (possible) solution I found while researching my issue.)
In the meantime I have uploaded and set-up a test Wordpress installation with dummy images and set up a some portfolio items and it is all working as intended there. Next I deleted and reinstalled the theme on the main site, deleted and reinstalled the child-theme, checked the functions.php, removed all custom css, deactivated and/or deinstalled all plug-ins except those necessary for Kalium to function... still the same malfunction. I can see in the generated live html that with the 'problematic' portfolio there are css styles overriding the correctly set css, effectively blocking the correct styling and I can't figure out why and at which point the faulty css is injected:
html excerpt of the test installation portfolio which is working as intended:
Notice the additional style elements that override the hover color.
For both of these portfolios the injected styling after the head section of the html is the same and you can see the correct colors being set (#8224e3 and #bf62ea) as per the portfolio options in Laborator settings. This is it for both installations on the portfolio page:
EDIT: What I did now was go into the mysql table and hunt for the background color for post-6898 as an example and lo and behold all my portfolio items have wp_postmeta entries for
Since I have a backup of my (supposed erroneous) database I went ahead and deleted one of the meta entries for a portfolio item and now this item works as intended. The additional style elements are gone from the html! Which is a good thing, but also makes me worry about what additional meta entries could be in there which are unnecessary or even interfering with normal operations in my database. Would you advise to delete above mentioned meta entries to ensure the hover color to be working as intended with Kalium? How can I verify that my database is in working order? How can I find entries that are either defunct, 'harmful' or unnecessary?
Thank you for your help and patience reading this. Peter
This should be a simple fix and not related to the database, that's why I said we will need your login credentials. We think it has to do with custom CSS that may be in your Custom CSS area or any plugin which may have caused this.
I deleted all optional plug-ins and all custom css. No change. Then I copied over the database and installation to another domain to create a safe environment for third parties, started to delete all personal information and sensitive data... Then I took a step back and created a new portfolio item on the live site and it is working as intended. This made me wonder... I took another look at the Parameters and Options part of the portfolio item page and realized under Other Settings there is a Custom Hover Background Color option, which was set to the color in question. I deleted (emptied) that color and now the item hover is working as intended on the portfolio archive page.
Bottom line: getting a project passed on from another team member is a delicate task and it is easy to overlook things.
Thank you for your help and please excuse me for maybe not being clear enough in my problem description to give you the opportunity to advise me to check for this color option in the according setting in Parameters and Options.
I am happy to hear you already found a way to fix the problem you had with the portfolio, we would like to thank you for sharing the fix with us so other users may find it helpful.
Thank you for your wishes, and happy holidays to you also!
I'm having a problem where when I set "Titles inside + Masonry Layout" for Portfolio Settings/Portfolio Layout/Thumbnail Options, the color I choose for "Hover color background for this type" isn't being displayed when I look at my portfolio page. Neither the like icon nor the hover effect background is displayed in the color I set in said portfolio control panel.
However, when I choose "Visible Titles" or "Titles Inside" the color that I set in "Hover color background for this type" is being displayed correctly on the live portfolio page.
I determined the variable "$hover_color" isn't being set correctly for the portfolio setting in question.
This is for the element: "#portfolio-2.portfolio-holder .item-box .thumb .hover-state". It always reverts back to #ebebeb for me in "Titles inside + Masonry Layout".
The transparency setting in Portfolio Settings/Portfolio Layout/Portfolio Layout Type works on the other hand.
Could you confirm this working correctly on your end?
I can't rule out whether I set a custom CSS at some point in time, but I searched basically everywhere in the settings of my Wordpress installation and in the back-end but can't find anything that I might have forgotten to take out. I already disabled any custom CSS I could. The color still doesn't stick.
Edit: I just tried to create a separate custom portfolio page with "Portfolio Page" as template and none of the preferences from "Parameters and Options" in the "Edit Page" window seem to stick. I can set "Page Options" and those are applied, but nothing from "Parameters and Options".
What am I missing?
Stats:
Kalium child theme with:
Kalium 2.0.6.1
php 7.0.13
mysql 5.7.16
wordpress 4.7.3
Hi there,
Can you please share your site credentials here, because we need to login to your site and see this issue live. Your information is safe (private) in this thread. To include your credentials click Insert Credentials button in editor toolbar. (See how)
Best regards,
Laborator Team
Art, it doesn't look like I have the permission to give other persons administrative access to this site due to security concerns.
Is there anything else I can do? (EDIT: please see the end of this message for a (possible) solution I found while researching my issue.)
In the meantime I have uploaded and set-up a test Wordpress installation with dummy images and set up a some portfolio items and it is all working as intended there. Next I deleted and reinstalled the theme on the main site, deleted and reinstalled the child-theme, checked the functions.php, removed all custom css, deactivated and/or deinstalled all plug-ins except those necessary for Kalium to function... still the same malfunction.
I can see in the generated live html that with the 'problematic' portfolio there are css styles overriding the correctly set css, effectively blocking the correct styling and I can't figure out why and at which point the faulty css is injected:
html excerpt of the test installation portfolio which is working as intended:
html of the malfunctioning portfolio items in my main installation:
Notice the additional style elements that override the hover color.
For both of these portfolios the injected styling after the head section of the html is the same and you can see the correct colors being set (#8224e3 and #bf62ea) as per the portfolio options in Laborator settings.
This is it for both installations on the portfolio page:
EDIT:
What I did now was go into the mysql table and hunt for the background color for post-6898 as an example and lo and behold all my portfolio items have wp_postmeta entries for
meta_key: custom_hover_background_color
meta_value: #ebebeb
Since I have a backup of my (supposed erroneous) database I went ahead and deleted one of the meta entries for a portfolio item and now this item works as intended. The additional style elements are gone from the html!
Which is a good thing, but also makes me worry about what additional meta entries could be in there which are unnecessary or even interfering with normal operations in my database. Would you advise to delete above mentioned meta entries to ensure the hover color to be working as intended with Kalium?
How can I verify that my database is in working order? How can I find entries that are either defunct, 'harmful' or unnecessary?
Thank you for your help and patience reading this.
Peter
Hi Peter,
This should be a simple fix and not related to the database, that's why I said we will need your login credentials. We think it has to do with custom CSS that may be in your Custom CSS area or any plugin which may have caused this.
Best regards,
Laborator Team
Art,
thank you for getting back to me.
I deleted all optional plug-ins and all custom css. No change.
Then I copied over the database and installation to another domain to create a safe environment for third parties, started to delete all personal information and sensitive data...
Then I took a step back and created a new portfolio item on the live site and it is working as intended.
This made me wonder...
I took another look at the Parameters and Options part of the portfolio item page and realized under Other Settings there is a Custom Hover Background Color option, which was set to the color in question. I deleted (emptied) that color and now the item hover is working as intended on the portfolio archive page.
Bottom line: getting a project passed on from another team member is a delicate task and it is easy to overlook things.
Thank you for your help and please excuse me for maybe not being clear enough in my problem description to give you the opportunity to advise me to check for this color option in the according setting in Parameters and Options.
Happy holidays (if you have them).
Thanks,
Peter
Hi Peter,
I am happy to hear you already found a way to fix the problem you had with the portfolio, we would like to thank you for sharing the fix with us so other users may find it helpful.
Thank you for your wishes, and happy holidays to you also!
Best regards,
Laborator Team