Forum Replies Created
-
AuthorPosts
-
Andy,
I’ve solved the problem I just added a margin to my buttons.
Thanks for your help in sorting this out.
Andy,
Thanks that works, the buttons are now inline in the accordion and in the code box. Any idea how I can put a bit of space around them so that they don’t appear stuck to each other?
I’ve tried:
.inner {
display: -webkit-inline-flex;
display: inline-flex;
-webkit-justify-content: space-between;
justify-content: space-between;
}and also tried replacing space-between with space-around or center. All three ways center the buttons like I want, but they don’t seem to put any space between them.
Any ideas?
Thanks
Rikard,
Thanks for spotting this. I have no idea how the line break tag is appearing as my html does not contain a line break tag:
<div class=”outer”>
<div class=”inner”>
<button id=”display” class=”action_button”>Show</button>
<button id=”hide” class=”action_button”>Hide</button>
</div>
</div>I assume that the <br> tag being put in by the theme somehow. Is there some way to stop it doing that?
The same html does not have a <br> tag added when used in a code block content element, so this seems to be something caused by the accordion element.
Andy,
Thanks for quick response. Details in the link.
Thanks
Perfect! Thanks for the quick response.
Cheers!
Rikard,
This is the link to the development server. The orange icon with the box around it is in the header at the far right.
Thanks
Ismael,
Thanks for the update and link. And thanks again for all your efforts. Hopefully WP will have this fixed in the next update.
Cheers
I’ve found a work around for now that still lets me use Portfolio items.
Basically I put a custom link in the additional portfolio settings. This link now takes the user to the product-category page where pagination works.
Ismael,
Thanks for trying. I don’t think it’s a PHP issue as I was already using 5.4. I tried 5.6 too but that made no difference.
It seems a bit odd that pagination works with default permalinks for Portfolio items, but no other permalink format. Yet pagination for product-category seems to be fine.
I guess my only option is not to use a portfolio grid but use a gallery instead and then use the WP Gallery Custom Links plugin to allow me add links to the images.
Thanks again for all your efforts.
Hi Ismael,
Is there any further progress with this problem? I saw the post from @valleyvariety (https://kriesi.at/support/topic/pagination-on-blog-page-does-not-work-urgent/page/2/#post-563713) but that doesn’t seem to make any difference.
I have noticed that pagination seems to work fine for product-category (http://www.indigomolecularimages.com/product-category/drugs/)
but not for portfolio-item (http://www.indigomolecularimages.com/portfolio-item/drugs/)Thanks
Yes please deactivate plugins if you need to.
Thanks
Sorry Ismael, here is the FTP username.
I made these new folders under my child theme:
config-templatebuilder/avia-shortcodes
and put a copy of productslider.php in the avia-shortcodes folder.
I modified it as you suggested but it doesn’t seem to work.
Can you take a look?
Thanks
Hi Ismael,
I have the same problem using Product Grid with Portfolio Items. When I click on page 2, it stays on page 1. When I click on page 3, it stays on page 1.
I’ve updated to Enfold 3.4.7 and I tried editing the config-templatebuilder/avia-shortcodes/productslider.php file by replacing
$params[‘offset’] = 0;
with
$params[‘offset’] = ( $page – 1 ) * $params[‘items’];
But none of these seem to make any difference.
Any ideas?
Thanks Yigit,
I tried that but it doesn’t have any effect. It is the Icon Caption (that appears under the standalone icon) that I’m trying to change rather than the tool tip.
Is there a similar piece of code for the icon caption?
-
AuthorPosts