Forum Replies Created
-
AuthorPosts
-
satoriKeymasterHey On3w,
first of all, thank you for the purchase!
I am not sure I understood the issue – could you please clarify? Also, please provide the URL of the website in question, if possible. Thanks for your patience!
Sincerely,
Andrii / Satori Studio
satoriKeymasterHey Damien,
looking good, glad it worked!
Best,
Andrew / Satori Studio
satoriKeymasterHey Damien,
could you please clarify: in which sense does the “Large” size stop working when you add the code above? The class is not included into the post class, the meta box does not show, or the boxes do not receive a proper size?
Have you added an additional option for the size drop-down metabox (also in the functions.php file, look for the “Add meta box to portfolio items with post box size options” title)?
Regarding the code, please try merging the two functions into one:
// Add custom post class for box size
function size_class($classes) {
global $post;
$postclass = ”;
if ( get_post_meta($post->ID, ‘satori_post-size’, true) == ‘Large’ ) {
$postclass .= ‘post-size-large’;
}
if ( get_post_meta($post->ID, ‘satori_post-size’, true) == ‘Long’ ) {
$postclass1 .= ‘post-size-long’;
}
$classes[0] = $postclass;
return $classes;
}
add_filter(‘post_class’, ‘size_class’);
Sincerely,
Andrew / Satori Studio
satoriKeymasterGlad to hear it helps!
Should you have other questions or issues with the theme, do not hesitate to contact me.
By the way, I would be very grateful if you could rate the theme and the support from the Downloads tab of your ThemeForest account.
Best,
Andrii / Satori StudioDecember 11, 2013 at 12:37 pm in reply to: Social icons on the same line as the menu on smaller screens #2075
satoriKeymasterHey Quentro,
here goes:
@media only screen and (max-width: 1030px) and (min-width: 767px) {
#header #logo-wrap {
display: block !important;
margin-bottom: 20px;
#header #nav-wrap {
display: table-cell !important;
}
#header #nav-wrap #nav-primary {
padding-left: 20px !important;
}
#header #social-top {
display: table-cell !Important;
padding-left: 20px !important;
}
}
You can insert this code into the “Style: Add Custom CSS” tab of the Theme Options panel, or, if you are using a child theme (which is recommended) – into the child theme’s style.css file.
Please let me know if it works!
Sincerely,
Andrii / Satori Studio
satoriKeymasterHey 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 Studio
satoriKeymasterHey 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 Studio
satoriKeymasterHey 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 Studio
satoriKeymasterHey 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 Studio
satoriKeymasterHey 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 Studio -
AuthorPosts