Forum Replies Created
Just found out that I can set negative margins per slider in the Smartslider settings. That did the trick. Thanks again for your help and patience!
I use Smartsilder, and the code echo do_shortcode('[smartslider3 slider="2"]'); did the job. However, extra space is added below the menu, and consequently the slider covers the category description…
Thanks so much for guiding me, Joe! This works.
Do you happen to know how can I activate a slider on the category page like on my other pages? See https://www.hoyaoptics.eu/download-category/downloads
Best regards,
Oliver
-
This reply was modified 4 years, 9 months ago by
Oliver Pust.
Hi Joe,
Thanks for the quick answer. However, in my files are no comments. Again, I tried unsuccessfully with a few locations: Here is the beginning of my file.
Best regards,
Oliver
<?php
/**
* Base: wpdmpro
* Developer: shahjada
* Team: W3 Eden
* Date: 6/6/20 09:48
*/
if(!defined(“ABSPATH”)) die();
list($sr, $ob, $od, $bt) = [6,2,2,2];
if(isset($tbgrid)){
list($sr, $ob, $od, $bt) = explode(“,”, $tbgrid);
}
if(is_post_type_archive()) $toolbar = 1;
if ($toolbar) {
?>
<form method=”get” class=”<?php if(isset($async) && (int)$async === 1) echo ‘__wpdm_submit_async’; ?>” data-container=”#content_<?php echo $scid; ?>” id=”sc_form_<?php echo $scid; ?>” style=”margin-bottom: 15px”>
<?php
if ($toolbar !== ‘skinny’ && $title !== ”) {
Hi Joe,
How and where did you add it? I tried several locations and only get error messages.
Best regards,
Oliver