-
AuthorPosts
-
August 27, 2014 at 2:18 pm #309819
hi as Josue help on https://kriesi.at/support/topic/insert-search-button-and-widget-area-in-the-secondary-menu-bar/
i was trying to include widget on header using location as social icons on display on header area (desktop version) just to include there phone and 3 icons with their own links (one of them with fancy box)
Because almost all questions were private i couldn’t check what it was really done to do the same and avoid to make a new question.
thx in advance for your quick help and answer
August 28, 2014 at 4:48 am #310191Hey Luis!
Just follow the steps of this reply:
https://kriesi.at/support/topic/insert-search-button-and-widget-area-in-the-secondary-menu-bar/#post-304697If you have any problems let me know.
Regards,
JosueAugust 28, 2014 at 1:16 pm #310390Great i did it but to place it instead of be displayed on top bar right side… is possible to be shown in main header area? as it is the possibility on social icons??
the idea is to be shown this only on desktop layout nos for smartphones
thx in advance
August 28, 2014 at 6:35 pm #310597Hi!
If you want it to show on the main header area you’d need to use another approach, try adding this to theme / child theme functions.php:
function add_stuff_to_header(){ echo do_shortcode("[put shortcode here]"); } add_action('ava_after_main_menu', 'add_stuff_to_header');
Cheers!
JosueAugust 28, 2014 at 8:10 pm #310628so i don’t do this : https://kriesi.at/support/topic/insert-search-button-and-widget-area-in-the-secondary-menu-bar/#post-304697
and only do functions.php function include?
if i do that is shown a blank page, no page load
August 28, 2014 at 9:16 pm #310649I tested that code on my local install and it worked, check your PHP error log for some insight.
August 28, 2014 at 10:12 pm #310672PHP Parse error: syntax error, unexpected ‘;’, expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in /var/www/vhosts/XXXXXXXXXXX/wp-content/themes/bmg/functions.php on line 468, referer: XXXXXXXXX
August 28, 2014 at 11:03 pm #310687Hi,
Can you please create me an administrator account? post it here as a private reply.
Regards,
JosueAugust 29, 2014 at 12:38 am #310734This reply has been marked as private.August 29, 2014 at 12:43 am #310735The link you posted is not loading for me, please re-check.
August 29, 2014 at 1:38 pm #310917This reply has been marked as private.August 29, 2014 at 5:50 pm #311028Hey!
Code has been added (here) and it showing correctly in the front-end, now you just need to change the shortcode and style it accordingly (it has a container with a class of “extra_stuff”).
Cheers!
JosueSeptember 3, 2014 at 2:04 am #312581It works perfect…. and just one more question how could i include a linear color background on a color section at avia framework…
i put as unique id confia
and on quick css i included:
.confia {
background:linear-gradient(to bottom, #ffffff 0%,#ffffff 28%,#d3e2f5 100%)
}but is not working :(
thx in advance
September 3, 2014 at 2:19 am #312582Hi!
If you use ID the code should be:
#confia { background:linear-gradient(to bottom, #ffffff 0%,#ffffff 28%,#d3e2f5 100%) }
Cheers!
JosueSeptember 3, 2014 at 2:23 am #312583is not working is shown as white is on home page section
September 3, 2014 at 2:42 am #312587i’ve added to custom.css instead on quick css and it works
September 3, 2014 at 5:21 am #312618Good, maybe there was a typo in your Quick CSS that was blocking that.
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.