Forum Replies Created
-
AuthorPosts
-
satori
KeymasterHey Quentro,
you’re right, it’s a bug. Please download this fix, unzip it, and upload the contained file into the theme folder (/wp-content/themes/Kanso/), replacing the existing file.
Please accept my apologies for this one, and thank you for bring it up! I will include the fix into the upcoming theme update.
Sincerely,
Andrii / Satori Studiosatori
KeymasterHey Quentro,
first of all, thank you for the purchase!
Kanso contains a script that automatically replaces images with their high-resolution variants on retina and similar displays. This means that you need to upload a separate optimized version for each image, into the same folder as the original one, and name it using Apple’s prescribed high-resolution modifier (@2x): e.g. „image@2x.png“ will be regarded as a retina version of „image.jpg“. The images can be of the same resolution, but twice as large, or of the same size, but of twice the resolution (i.e. for a 50dpi, 300×300 image a retina version would have to be 50dpi 600×600 or 100dpi 300×300). This is a recommended solution since it does not overload the pages unnecessarily on lower-resolution displays, trying to load larger images.
You could, of course, simply use large and high-resolution images throughout the website, in which case they would stay crisp on hi-res displays (note that in this case the performance for low-res displays will suffer).
Finally, if you need more fine-tuning (e.g. making only some of the images retina-ready), I would recommend using the WP Retina 2X plugin.
You can find additional information about the hi-res image usage in Kanso on pages 12-13 of the theme manual.
Sincerely,
Andrii / Satori Studiosatori
KeymasterHey Csaba,
Well, you could just do it with some CSS, for example:
#nav-primary ul li:first-child {
height: 50px;
width: 50px;
background-image: url('http://www.irodalmibableves.hu/wp-content/uploads/2013/11/home-e1385070240640.png');
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: 30px 30px;
}
#nav-primary ul li:first-child a {
visibility: hidden;
}
You can of course replace the URL with any other image you need, I just used the one found in your media library ;)
Sincerely,
Andrii / Satori Studiosatori
KeymasterHey Csaba,
1). I’ve checked the situation and it seems that you’ve a third-party plugin installed that does this. The “Mav Menu Images” plugin replaced the project titles in H1 tags with project thumbnails – not only in the menu, as it should, but also in the content, for some reason.
2). The function accepts taxonomy slugs, which is why in this case the second argument should be “tag-portfolio”.
Sincerely,
Andrii / Satori Studiosatori
KeymasterHey Csaba,
regarding the questions:
1). Alright, now I think I understand the situation, yet I cannot say anything meaningful without seeing the source code; I will need to ask you for admin login and password for this (you can send the information on my email: support@satoristudio.net).
2). The get_the_terms function returns an array of term objects; please see the first usage example on the official WordPress page I mentioned above on how to use the function.
Sincerely,
Andrii / Satori Studiosatori
KeymasterHey Csaba,
I will use the same order for the answers as before:
1). Please excuse me, yet I’m still not sure I understood what exactly you are trying to achieve. Do you want the thumbnails (i.e. featured images to display below the titles for single portfolio projects?
2). The template function you need is “get_the_terms”; you can read more about it on the official WordPress website here.
Sincerely,
Andrii / Satori Studiosatori
KeymasterGreat!
I will probably include this possibility into the next version update of the theme as well, thank you for raising this issue!
Best,
Andrii / Satori Studiosatori
KeymasterHey Simon, J,
after some more searching I’ve finally found a custom solution for you. Please download this archive, unzip it, and upload the contained files into the theme folder (/wp-content/themes/Ikebana/), replacing the existing files. After you refresh the website, the portfolio page template should display native WordPress posts instead of portfolio projects.
Please let me know if it works as intended!
Sincerely,
Andrii / Satori Studiosatori
KeymasterAh, disregard my last question, you were talking about the second topic in this forum :)
Andrii / Satori Studio
satori
KeymasterHey Csaba,
regarding the first question: I am not sure I understood. Could you please clarify what is the end result you wish to achieve? Is it to have the project title displayed above the featured image?
Concerning the second question: if you want to display taxonomy labels instead of the project type icons, you’ll need to edit the “overlay-post” element in the “content.php” file (line 60) and all derivative “content-xx.php” files for various project types.
Sincerely,
Andrii / Satori Studio -
AuthorPosts