-
AuthorPosts
-
February 8, 2018 at 2:31 pm #909778
Hi,
I want to make column clickable. I followed these instructions but it did not work for me. Instead it shows white column but clickable.
https://kriesi.at/support/topic/entire-column-clickable/
Please assist.
Thanks
AadilFebruary 8, 2018 at 3:17 pm #909799Hi Aadil,
We are planning to add such feature to the theme. If your case is not urgent, we would recommend you to wait a little while :)
Regards,
YigitFebruary 8, 2018 at 3:53 pm #909812the problem is that josues edited columns.php shortcode is more than 2 Years old
here is one edited new columns.php file of Enfold 4.2.3 on pastebin : columns.php with clickable link
or as direct download: Download
i have inserted on the edited lines some comments !
1) Now download it – and upload it to your child-theme/shortcodes folder
2) insert in functions.php of your child-theme:add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
3) see how it looks on ALB:
see here in Action ( the red 1/2 column): https://webers-testseite.de/weber/clickable-columns/February 8, 2018 at 3:55 pm #909815February 8, 2018 at 4:17 pm #909822Well i see that Josue has not included a link_target option – so i try to implement that too
February 8, 2018 at 4:24 pm #909825Hi Guenni,
Thank you so much for prompt response. I Can see ‘All Link’ option in ALB, but when i add link here : http://prntscr.com/ibwdrg i see this on front page : http://prntscr.com/ibwema
Any idea what is wrong with that?
Thanks
AadilFebruary 8, 2018 at 4:48 pm #909830First i edited again links are the same as above.
I added the option to set the link target !1) on which version of enfold you are with your install ?
2) what is behind that custom-class (iconboxstyle) ? (css code please)February 8, 2018 at 4:55 pm #909833I am using Version: 4.2.
What i did :
I made a folder shortcodes in child theme. I uploaded your columns.php file in that folder. I added above provided code in functions.php file.
What i did wrong i think i uploaded your same columns.php file in enfold/config-templatebuilder/avia-shortcodes/columns.php i replaced original file with yours. Is that something i am doing wrong?
Thanks for all your help.
February 8, 2018 at 4:57 pm #909834the code above sets the possibility to overwrite parent shortcodes (or insert new one)
you don’t need to replace the parent theme file ( this is why child-themes are the best solution)did you inserted the code to functions.php of the child-theme? or to the parent-theme?
Child is the way to do!February 8, 2018 at 4:59 pm #909835I replaced the file thats the mistake i did i think. Yes i placed code in child-theme functions.php file.
February 8, 2018 at 5:01 pm #909838i guess i know: it does not make a sense to set for iconbox a link here !
February 8, 2018 at 5:01 pm #909839Luckily i had downloaded original file and i have uploaded that back. Thanks
February 8, 2018 at 5:02 pm #909840Any other way to do same thing? I want to insert link to each 1/4 column.
February 8, 2018 at 5:03 pm #909841February 8, 2018 at 5:05 pm #909842you see that : https://kriesi.at/support/topic/make-entire-column-clickable/#post-909838
and think of Josues css code:
a.flex_column { text-decoration: none !important; }
February 8, 2018 at 5:08 pm #909846I am sorry i didn’t get. What to do with this code GUENNI shall i add that in Quick Css?
February 8, 2018 at 5:13 pm #909853see my test page –
1) if iconbox itself get a link – the structure was destroyed. (
2) first of the 1/4 th columns got no link on iconbox – everything is ok.
3) if you have a text-block in that clickable column – the text will get his hover state- to avoid underlining you have to set some css codeFebruary 8, 2018 at 5:16 pm #909858if we remove link from icon and title itself. Then we can add link to 1/4th column? Will that work fine?
February 8, 2018 at 5:18 pm #909860on my Enfold it works: https://webers-testseite.de/weber/clickable-columns/
February 8, 2018 at 5:22 pm #909862Any idea what could be wrong with mine?
February 8, 2018 at 5:24 pm #909863Also i am facing one more issue if you could help me out please i’ll be really thanks.
I am using enfold save element option. I have create “Our Services” Section on home page. I saved that Color section and imported on another page. When i update page Color section is not there. Its gone. I am facing this issue. I need that resolved please.
Thanks for all your help.
February 8, 2018 at 5:27 pm #909866I imported again and updated page and its gone. What’s wrong with my editor. Please assist.
February 8, 2018 at 5:32 pm #909870here is a little tutorial of mine: https://webers-testseite.de/edited-enfold-alb-elements/
it is nearly all the same thing – an edited ALB Element comes to child-theme / shortcodes folder
your changings are on the bottom of that tut.If you do not have after that success please wait til a mod is here and give him the account information in private area.
Maybe the could help you in that caseFebruary 8, 2018 at 5:55 pm #909883Thanks for sharing it with me. Any chance you tell me why save element option is not working on my template?
Here it is again if you could tell me what’s the issue :
Also i am facing one more issue if you could help me out please i’ll be really thanks.
I am using enfold save element option. I have create “Our Services” Section on home page. I saved that Color section and imported on another page. When i update page Color section is not there. Its gone. I am facing this issue. I need that resolved please.
Thanks for all your help.
February 8, 2018 at 6:27 pm #909895i’m now looking for the code error : why the link_target does not work on my end.
February 8, 2018 at 6:36 pm #909902Can you fix that link issue. It will be great help!
February 8, 2018 at 7:21 pm #909911Yes – please download again. Download
it seems that you have to pull in new columns to be influenced of the new code.
https://webers-testseite.de/weber/clickable-columns/February 8, 2018 at 10:55 pm #910020It doesn’t work for me even i used same new 1/4 column. No luck!
Thanks anyways for your help :)
February 9, 2018 at 8:27 am #910149you have clicked on one of those columns. because the visual hover-state of my test-page is in quick css.
you have downloaded the column.php again as in thread here https://kriesi.at/support/topic/make-entire-column-clickable/#post-909911
you have read this carefully: https://webers-testseite.de/edited-enfold-alb-elements/
February 10, 2018 at 6:18 pm #910594Hi,
@danielromanin let us know if you find Guenni007’s suggestion solves your issue. Thanks @Guenni007Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.