-
AuthorPosts
-
September 29, 2019 at 1:30 pm #1143079
Hi,
For my categorie style i can coose standard or display product image as fullwidth banner.
Is it posible to leave out the image on the categorie page because the image of the categorie wont look nice.
thanks for your help
greatz myrna
September 30, 2019 at 11:11 am #1143290Hey thehorsestore,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
.archive.woocommerce #av_product_description { display: none; }
If you need further assistance please let us know.
Best regards,
VictoriaNovember 17, 2019 at 12:52 pm #1157613Hi victoria,
Last question on this subject :-)
Is ik possible to show the tekst of the categorie below my products?
thanks a lot
November 17, 2019 at 2:41 pm #1157637Hi i found the code below:
function av_move_wc_cat_description(){
?>
<script>
jQuery(window).load(function(){
jQuery(“.term-description”).insertAfter(jQuery(“.products”));
});
</script>
<?php
}
add_action(‘wp_footer’, ‘av_move_wc_cat_description’);But i want it to be below mij next page button :)
thanks- This reply was modified 5 years, 1 month ago by thehorsestore.
November 21, 2019 at 4:40 am #1158689Hi,
Thank you for the update.
We can’t find the category section in the overview page or the single product page. Could you give us a screenshot of the category section that you’d like to move? You can use imgur or dropbox for the screenshot.
Best regards,
IsmaelNovember 21, 2019 at 12:27 pm #1158796November 22, 2019 at 10:05 am #1159046Hi,
Thank you for the update.
In the recent script, try to replace this line..
jQuery(“.term-description”).insertAfter(jQuery(“.products”));
.. with this code:
jQuery(".term-description").insertAfter(jQuery(".pagination"));
This should insert the term description container below the pagination.
Best regards,
IsmaelNovember 25, 2019 at 11:28 am #1159786i will try, the code didnt work for me anymore
changed it to:add_action(‘wp_footer’, ‘ava_new_custom_script’);
function ava_new_custom_script(){
?>
<script type=”text/javascript”>
(function($) {
function a() {
$(‘.term-description’).insertAfter(‘.pagination’);
}$(window).load(function() {
a();
});
})(jQuery);
</script>
<?php
}but what happens is:
When there is less then 45 products there is no pagination so then he automaticly puts the description back on top.
is it possible to make a combination without the one overwriting the other?- This reply was modified 5 years ago by thehorsestore.
November 26, 2019 at 12:05 pm #1160276Hi,
Thank you for the update.
Try to replace the same line with the following code.
var terms = jQuery(".term-description"); var pagination = jQuery(".pagination"); var wrapper = jQuery(".template-shop .entry-content-wrapper"); if(!wrapper) return; if(pagination) { terms.insertAfter(pagination); } else { terms.appendTo(wrapper); }
This should append the terms container to the entry content wrapper when there is no pagination.
Best regards,
IsmaelNovember 26, 2019 at 12:18 pm #1160279Hi Ismael,
Thanks for your reply. The code in general doesnt work anymore……
not sure what is going wrong before it workedNovember 28, 2019 at 4:21 am #1160860Hi,
Can we have access to the dashboard? We would like to test the code. Please make sure that the Appearance > Editor panel is accessible.
Thank you for your patience.
Best regards,
IsmaelDecember 4, 2019 at 12:21 pm #1162546This reply has been marked as private.December 4, 2019 at 5:52 pm #1162677Hi thehorsestore,
Yes, please make and share credentials with us in private.
Best regards,
VictoriaDecember 5, 2019 at 11:23 am #1162888This reply has been marked as private.December 6, 2019 at 4:53 am #1163281Hi,
Thank you for the update.
We modified the script in the functions.php file. It will now move the description below the pagination if it exists. If not, the script will move the description to the main wrapper below the product loop. Please note that this will only work in the initial page. The description will be removed automatically from the succeeding pages.
You can use this css code to display back the “scroll to top” button on mobile view.
@media only screen and (max-width: 767px) { .responsive #scroll-top-link { display: block !important; } }
Best regards,
IsmaelDecember 6, 2019 at 8:35 pm #1163450Thanks for al your help ismael
December 7, 2019 at 6:13 am #1163533Hi,
Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardDecember 8, 2019 at 11:43 am #1163749Hi rikard,
I think this is as good as it gets?
Stil when there is no product navigation (page numbering) the categorie description moves on top.thanks for your time
December 10, 2019 at 9:41 pm #1164632Hi,
yea this cant be fixed because it is a placement that needs to be covered.
Best regards,
BasilisDecember 13, 2019 at 12:06 pm #1165485can you advice how?
this is the code how Ismael put this in:function ava_move_pagination(){
?>
<script type=”text/javascript”>
(function($) {
$(document).ready(function() {
var terms = $(“.term-description”);
var pagination = $(“.pagination”);
var wrapper = $(“.template-shop .entry-content-wrapper”);if(!wrapper) return;
if(pagination) {
terms.insertAfter(pagination);
} else {
terms.appendTo(wrapper);
}
});
})(jQuery);
</script>
<?php
}
add_action(‘wp_footer’, ‘ava_move_pagination’);December 15, 2019 at 8:06 pm #1166132Hi,
Sorry for the late reply, I’m not sure what your question is, as I read the thread @Basilis says it can not be done?Best regards,
MikeDecember 16, 2019 at 6:51 pm #1166532hoi sorry
i was reading: yes , this can be fixed :)
to bad, you can close this topicthanks
December 17, 2019 at 11:23 am #1166776 -
AuthorPosts
- The topic ‘enfold child categorie style’ is closed to new replies.