Slider problem (too wide?)
-
Hi again –
I have two questions re: the built-in slider:
1. The Mesocolumn theme works well on a desktop/laptop without a slider. But adding a slider creates formatting problems with the blog posts below — there is less separation between the columns and not everything displays correctly as a result. (The problem is the same with different browsers and with various widths. This problem occurs whether or not the “responsiveness” feature is on or off.)
As far as I can tell, the problem is that the slider is too wide, which ends up affecting the blog posts below it. Accordingly, I presume that the solution would be to reduce the relative width of the slider so that it does not interfere with the blog posts below it. Is there backend code that could be used to reduce the slider width or is there some other way to fix this?
2. My blog posts do not include any images at all. Is it possible to add a default image to the slider? (I just want to use a background color for the slider – if necessary, the color can be the same for every post. I do not want to add images to the individual blog posts.)
Thanks in advance.
-
i didn’t see the problems you noted. the slider work fine in demo. also the slider already had default image (dark repeat image) if no image detected. are you sure you’re using the builtin slider?
are there any live site i can check?
I have to apologize for my first question: I now realize that the slider width problem is with my child theme, not with your theme. (I had thought that I had checked for this before, but I was mistaken.)
So to go back to my second question and to add a third:
-How can I change the background color of the slider when the post has no image? I would prefer that the color matches the color in Appearance > Theme Options > General > Color Scheme instead of it being black.
-Is it possible to also include the post category and the author in the slider? Ideally, these would be displayed above the post title and excerpt.
Thanks again.
try add this to theme option->custom css
.jdGallery .slideElement,.jdGallery .loadingElement { background:#cc0000 none !important;}@add meta in slider
open lib/sliders/jd-gallery-slider.php add this code before
<?php echo dez_get_custom_the_excerpt(30); ?><span class="post-author vcard">by <?php the_author_posts_link(); ?> in <?php the_category(',',''); ?></span><br />so final code would be
<span class="post-author vcard">by <?php the_author_posts_link(); ?> in <?php the_category(',',''); ?></span><br /><?php echo dez_get_custom_the_excerpt(30); ?>remember to add them in both feat post via cat and feat post via post id bottom.
Thanks for the reply. Will that work with the latest version of the theme? (I had posted my questions prior to the release of version 1.6.5.1.)
yes, the same code.
The topic ‘Slider problem (too wide?)’ is closed to new replies.
