2. I use columned portfolio style and would like to control the width and height of the photos and to keep them in the middle in one column. I used a code mentioned on the forum but the spacing between the images is huge and sometimes not consistent: http://antonkovalev.com/photography/tom/ Here is the code I am using:
Please change let me know what should by changed and if possible add an option for spacing control between the photos.
3. I would like to change the links. Permalinks option doesn't really help me.
In PORTFOLIO SETTINGS - PORTFOLIO PAGE - URL REWRITE OPTIONS - I have PHOTOGRAPHY.
If I don't put anything in it PORTFOLIO appears, but I don't want any of this options.
Instead I would like the link to change depending on the page name. So if it is a portfolio page PORTRAITS, I would like all links to be:
2— 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 possible solution.
Make sure to choose Private Reply when you send us sensitive informations!
3— This question is related to theme developer and I am unable to give you any solution about this because I am not backend developer.
Our theme developer Arlind can help you with this, but he is not in the office until 19 July.
When Arlind come back, just reply to this thread and you will make sure he will see your comment.
1. I am not sure how the current menu item is set, this has to be controlled from a plugin maybe. In your case it is specific issue, so you need a custom code for this to solve.
2. Simply add media query for that code (delete it) and replace with this one:
Hi guys,
I have three questions:
1. Menu item is not active when portfolio item is open. As example: http://antonkovalev.com/photography/tom/ - PORTRAITS menu item should be underlined when active as here: http://antonkovalev.com/portraits/
Please send a CSS code to make it work.
2. I use columned portfolio style and would like to control the width and height of the photos and to keep them in the middle in one column. I used a code mentioned on the forum but the spacing between the images is huge and sometimes not consistent: http://antonkovalev.com/photography/tom/ Here is the code I am using:
.slick-initialized .slick-slide { max-height: 580px !important; }
.single-portfolio-holder .gallery .portfolio-images-slider.is-finished img { width: auto; max-height: 580px !important; left: 50%; transform: translate(-50%, 0); }
.single-portfolio-holder.portfolio-type-3 .gallery-slider .gallery-item { max-height: 580px !important; }
.image-placeholder img { width: auto !important; max-height: 580px !important; left: 50%; transform: translate(-50%, 0); }
Please change let me know what should by changed and if possible add an option for spacing control between the photos.
3. I would like to change the links. Permalinks option doesn't really help me.
In PORTFOLIO SETTINGS - PORTFOLIO PAGE - URL REWRITE OPTIONS - I have PHOTOGRAPHY. If I don't put anything in it PORTFOLIO appears, but I don't want any of this options.
Instead I would like the link to change depending on the page name. So if it is a portfolio page PORTRAITS, I would like all links to be:
Hi Anton,
1— Can you please add the code below to Custom CSS
2— 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 possible solution.
Make sure to choose Private Reply when you send us sensitive informations!
3— This question is related to theme developer and I am unable to give you any solution about this because I am not backend developer.
Our theme developer Arlind can help you with this, but he is not in the office until 19 July.
When Arlind come back, just reply to this thread and you will make sure he will see your comment.
Hope for your understanding :)
Hi Anton,
1. Actually there is a plugin for this:
https://wordpress.org/plugins/current-menu-item-for-custom-post-types/
Can you please try it and see if it works for you.
2. That option is not available for the moment, however go to Edit Portfolio Item page for this portfolio item:
http://antonkovalev.com/photography/tom/
And add this Custom CSS to Parameters & Options metabox:
For http://antonkovalev.com/photography/jennifer/
add this CSS:
3. I was checking if this is possible but it seems that such an option is not available in WordPress permalinks structure.
After searching on Google about this, I was able to find some user created snippets that may work but I am not sure:
http://wordpress.stackexchange.com/questions/108642/permalinks-custom-post-type-custom-taxonomy-post
The code is for different purpose but it may serve to create an idea how to achieve similar results.
Hi Anton,
1. I am not sure how the current menu item is set, this has to be controlled from a plugin maybe. In your case it is specific issue, so you need a custom code for this to solve.
2. Simply add media query for that code (delete it) and replace with this one: