Forum Replies Created
-
AuthorPosts
-
Hey Nikko,
thank you for your reaction. Actually I am trying to achieve something like this: http://jsfiddle.net/a8ZWx/, but with the Enfold form.
I will explain – our page just will offer to our customer to purchase a gift card. One of the option will be – “I will enter the value of my own” and if the customer choose this option we need this additional field to appear. Please, see the link above – this is what we need, but i don’t know how to implement it in Enfold form.
Thanks a lot!
Hey Basilis!
Works like a magic! Thanks, for so quick respond! Would be happy, if you explain what to do if i want to do the same for whole category of the products (eg. i have P1, P2, P3 products under category: ‘category-one’). Because it is time consuming to write each ID. I’ve done it already, but in advance it would be helpfull to know.
But in general my problem is solved, thanks one more time!
Hey, Rikard!
Yes, this aprouch with little customization worked well for pages.
But one more question, how to get the same result for WooCommerce single product pages?
I tried to add ID’s to code – doesn’t work. I tried to add this:add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area3' ); function enfold_customization_header_widget_area3() { if(is_product()){ dynamic_sidebar( 'header2' ); } }
also doesn’t work. Tried to add is_category replacing is_product – aslo do not worked.
What i do wrong?
Hey!
I created custom header using mentioned aproach. And this header now shows on all my pages. What i need now, is to create a new custom (different) header (say ‘header2’) and this header must showing up on specific page (for example at page ID59). So tell me if i correctly understood you:
1) I must copy-paste this code to functions.php (without removing old one)
2) Create new header via Appeariance-Widgets named header2
3) Add to the widget block information.
5) See my new custom information on this specific pageCorrect?
- This reply was modified 7 years, 6 months ago by Max Miko.
Thanks Yigit,
unfortunately you aproach asks some additional work, because this image apeared on lower block,but i need it in the h1(main-title) level. I tried simpler aproach, and it worked perfectly, please see folowing:
@media (min-width: 600px) and (max-width: 2000px) {
.main-title {
background-image: url(http://www.ddrosiba.lv/wp-content/uploads/2016/08/BV_Certification_ISO9001.jpg);
background-size: 144px 83px;
background-position: right;
background-repeat: no-repeat;
}
}Anyway, thank a lot for you attention.
- This reply was modified 7 years, 11 months ago by Max Miko.
Anybody?
Hi, again.
Actually fixed by myself, as i said, i just take up my form code now it positioning nice!
Thanks for your patience :)Hi, Vinay.
Unfortunately i can’t post the code at the Editor, i must create template and upload it at the theme folder and then choose via dropdown list at the WP Page Editor.
About posting my code. As i mentioned i used Enfold default “Single Page” and added my custom code into it. My problem is (as i understand it) that i place it wrong place of the default single page code. May be it must be higher? And again i can’ t add it through Editor because there is php, and this code is linked with other php files.
June 3, 2016 at 3:00 pm in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #642568Will do it with pleasure.
June 3, 2016 at 11:56 am in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #642512Ismael,
ideally, all works fine! Thank you for your time and efort! Where to push 5 stars? ))
June 1, 2016 at 10:18 am in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #641358Hi,
I remove nothing after all (partly) started to work. but removed codes that created 500 error also what josue recomended to remove.
May 30, 2016 at 2:40 pm in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #640402Josue,
found one thing. The portfolio opens now opens on the specific tab click and this is great, thank you!
But found one important imperfection, which is important. It works if you clicking trough tabs, but not working if you are at the tab through internal link. Please see video here.
May 26, 2016 at 2:28 pm in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #638719Ok, thanks a lot!
May 26, 2016 at 2:15 pm in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #638710Josue,
just cleanded cache, yes this works! Thanks,
can you please what you’ve done to get ir?May 26, 2016 at 1:45 pm in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #638690Clicking on the tab, still see two tiles. No loaded porfolio.
May 26, 2016 at 12:46 pm in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #638672I want trigger a portfolio opening by clicking specific tab. In my case the tab name is “Ornamentu bruģēšana” – and second (from the left) portfolio needs to be triggered on load.
May 26, 2016 at 11:35 am in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #638644Still doesn’t work :(
It block my /wp-login.php, /admin.php pages with 500 error.- This reply was modified 8 years, 5 months ago by Max Miko.
May 25, 2016 at 1:27 pm in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #638006Hi Josue,
thanks a lot! It finally works!
If i can ask you my second issue mentioned here above. It’s about automatic specific portfolio opening on specific tab click. Ismael gave me a link on another thread. I used it and as i understand it must work, but it is doesn’t here is my code:// specific portolio active (Ismael from Enfold support forum)
add_action(‘wp_footer’, ‘ava_auto_click’);
function ava_auto_click(){
?>
<script>
(function($){
$(window).load(function() {
$(‘.post-1449’).trigger(‘click’);
});
})(jQuery);
</script>
<?php
}.post-1449 and this id i take out from this:
<div data-ajax-id=”1449″ class=”grid-entry flex_column isotope-item all_sort no_margin post-entry post-entry-1449 grid-entry-overview grid-loop-1 grid-parity-odd ornamenti_sort visi_sort av_one_third first default_av_fullwidth no_combo” style=”position: absolute; left: 0px; top: 0px;”><article class=”main_color inner-entry” itemscope=”itemscope” itemtype=”https://schema.org/CreativeWork”><span class=”image-overlay overlay-type-extern” style=”left: -5px; top: 0px; overflow: hidden; display: block; height: 231px; width: 295px;”><span class=”image-overlay-inside”></span></span><div class=”grid-content”><div class=”avia-arrow”></div><header class=”entry-content-header”><h3 class=”grid-entry-title entry-title” itemprop=”headline”>Ornamentu bruģēšana</h3></header></div><footer class=”entry-footer”></footer></article></div>Where is my problem?
May 20, 2016 at 1:10 pm in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #635874Hi, Josue,
don’t know what i do wrong, but after i added the snippet to the functions.php (at the top, middle, botom, whatever) – the browser shows internal 500 error.
May 19, 2016 at 9:59 am in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #635080Hi,
sorry if you get me wrong. After your first snippet the item positioning works brilliant, so this issue is tottaly solvedand sorry for your time too.
But unfortunately there are new issue appeared after i added the snippet. As i wrote earlier, after you click at the item – portfolio doesn’ t opened.
Please, see screenshot how it looks now here.
May 17, 2016 at 9:18 am in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #633570Hi,
still doesn’t work.
hope i done all things correct.
1) Delete old snippet
2) Add last one
3) Enagle Cache plugin and delete cacheSome portfolio still doesn’t work for some tabs.
:(May 16, 2016 at 11:23 am in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #632854Hi,
tried new one – same thing. There is again the same story – as i refresh page – i able to load portfolio, without it action – doesn’t.
Login details below
Update: found out, that this problems appear only for specific tabs. Don’ t know even why.- This reply was modified 8 years, 6 months ago by Max Miko.
May 14, 2016 at 1:26 pm in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #632349Ismael,
thanks, this is fixed, but now portfolio doesn’ t open as it was earlier – just a strange grey line appearing. Please, see the result here. Just click at any portfolio and you will see the problem.
May 12, 2016 at 12:08 pm in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #631290Hi Ismael,
Thanks for the quick response.
1) After adding the snippet collumns have bigger space between collumns and still have positioning problem. It’ s ok for me the portfolios are close to each other, i don’ t like . this, so i need this. I guess it may be smth about AJAX – because as i a little bit resize a browser window – my portfolious come together and all seem all right. But of course it is not a sollution. what do u think?
2) Here i need a little bit a help. As i understand this snippet you mention i must add at function.php using my specific portolio id (.post-1449 in my case)?
May 10, 2016 at 3:14 pm in reply to: 4 column sortable Ajax portfolio: space between the items – how to? #629974Hi,
this will be my first ticket, because no solution works for me, therefore there was similar cases like my case. So.
I have created portfolio based gallery (AJAX mode) inserted in tabs. Tabs is my only choice, because i need specific links for each gallery category, so sorting option doesn’t work for me. Please see link on gallery page here
My problem #1: Space between gallery collumns.
Tried all code snipets, doesn’t work for me.
What i found, that if a visited specific tab through the link – all columns shows as it must be, but as soon as you choose another tab – collumns became seperated with whitespace. One more thing – if you whait or refresh this tab – all collumns move to each other.My problem #2: Automatic Ajax portfolio openine
Is there a way to open an Ajax portfolio without clicking on small thumbnail? We have one great portfolio and we want visitor see it instantly without clicking on small thumbnail. Of course AJAX functionality we hope to save.
-
AuthorPosts