Forum Replies Created
-
AuthorPosts
-
Your opinion concerning my abilities is probably too high
ich bin ein Meister der Kombination, Logik und Transferleistung – aber Code aus der Hand schreiben ist mir nicht gegeben.
Langsam komme ich auch in die jQuery Situation um dies zu tun und php gestaltet sich immer leichter, aber wie gesagt ich benötige immer Fallbeispiele die ich dann kombinatorisch zusammensetzen kann.Gerne werde ich mich aber trotzdem einlesen.
Solltest du aber ein Beispiel, wie das obige haben – so wäre es nett.die function um die es geht is ja :
function avia_header_size()
weiter unten wird dann mit .on
win.on( 'debouncedresize', function(){ el_height = $(elements).attr('style',"").filter(':first').height(); set_height(); } ); win.on( 'scroll', function(){ window.requestAnimationFrame( set_height )} );
debouncedresize und scroll sind jetzt die events; ?
how do i unbind that function on avia.js
and do i have to bind the new function ?November 7, 2017 at 2:49 pm in reply to: layerslider: switch background image (without changing slide) #873713on layerslider it is easier to make a new slide – on top there is an option “duplicate slide”
it is where the slider tabs are on the right side of the window
after that change background imageWhat danger do you fear comes from using a child-theme ?
it is much more better to use it. I really can not found a reason against it.
Look to the folder child-theme on your computer. Only three files are in it. So no file-size that incriminates your server.
Believe me or not there will be changings to make. And these get lost if you done it in parent theme.
Working from the beginning with a child theme is much more easy than to change it later. Allthough enfold brings some cool addons to make a change easy (like import theme settings file etc)See here: ( and maybe on google a search ? : Link )
https://kriesi.at/documentation/enfold/using-a-child-theme/dear mods on documentation there are some links to www – now you have it without www since https
November 7, 2017 at 11:58 am in reply to: How to add lightbox/pop-up containing text on clicking a picture on enfold? #873620so on code element it might be this for an image:
[av_image src='https://home_url/wp-content/uploads/abc.jpg' align='left' link='manually,#popup-target4' overlay_opacity='0.4' overlay_color='#000000' overlay_text_color='#ffffff' animation='no-animation' custom_class='popup'] [/av_image] <div id="popup-target4" class="white-popup mfp-hide"> the shortcode of your popup window </div>
November 7, 2017 at 11:50 am in reply to: How to add lightbox/pop-up containing text on clicking a picture on enfold? #873616on images the same thing
create your image file with all you like
link goes to manually : insert the popup id
custom class for the image is : popup
copy the shortcode for the codeblock-elementbut now be careful – i changed the class to the alb you want to use ( buttons , images) to only : popup
because now an image and a button and and … so code now is:function popup_script() { ?> <script type="text/javascript"> jQuery(window).load(function(){ jQuery('.popup .avia-button').addClass('open-popup-link'); jQuery('.popup .avia_image').addClass('open-popup-link'); jQuery('.open-popup-link').magnificPopup({ type:'inline', midClick: true }); }); </script> <?php } add_action('wp_footer', 'popup_script');
November 7, 2017 at 11:31 am in reply to: How to add lightbox/pop-up containing text on clicking a picture on enfold? #873610well you see on the code element that it is a normal link with special link and class.
so on code element you even can use avia generated buttons – the only thing to think of is that the wrapper gets the class set on options dialog and not the a-tag.
So give to the avia button the class. popuplink='manually,#test-popup3' - is the link to the div with the popup info custom_class='popup' - is the class the wrapper of the a-tag gets -
so what to do is create an avia-button with all you like
insert in link your popup link ( #test-popup3 here)
give the button the custom class: popupA shortcode of a button might see this way then ( i did this with line-break that you better can see the structure)
[av_button label='PopUp Button …' link='manually,#test-popup3' size='large' position='left' icon_select='yes' icon_hover='aviaTBicon_hover' icon='ue837' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff' custom_class='popup' ]
so now we had to add the class to the anchor – the whole script is then:
function popup_script() { ?> <script type="text/javascript"> jQuery(window).load(function(){ jQuery('.popup .avia-button').addClass('open-popup-link'); jQuery('.open-popup-link').magnificPopup({ type:'inline', midClick: true }); }); </script> <?php } add_action('wp_footer', 'popup_script');
see test-page: https://webers-testseite.de/elegant/team/
-
This reply was modified 7 years, 7 months ago by
Guenni007.
can you please use for code the code element – it is better readable – and for you much more important it is copyable
it works either by click once on code button above – insert the code – click on (now it is /code-tag) this button after it
or insert the code – activate the whole block and click on code only once – than it will surrounds this lines.your link is postid-4665 and it is a single post – see source code
For Logo change there is on enfold an option to do that by overwriting the other one but –
i tested that if on enfold options dialog a favicon is set ! it could not be overwritten by this method – so there is the code for the first rule is to set favicon for that single post the other for not to be that single postthe one is
http://nowguide.no/downloads/ms_5564.png
what is the other favicon ?you can see it here in action ( with is_page(330) – because it is in this case the page )
https://webers-testseite.de/elegant/flexbox-model/all other pages got a different favicon.
November 7, 2017 at 9:41 am in reply to: How to add lightbox/pop-up containing text on clicking a picture on enfold? #873581the first button only has a text-block pure in it
the second button has the shortcode from the constallation beneath ( 1/2 containers with one heading left – and one textblock right)
the class white-popup needs more css rules –
a display:table or flex helps:.white-popup { position: relative; background: #FFF; padding: 20px; width: auto; max-width: 600px; margin: 20px auto; display: table; }
and if you are working with columns in the popup window – it might be a good idea to have some responsive rules for it:
@media only screen and (max-width: 767px) { .mfp-content .flex_column { width: 100%; padding: 10px !important; margin: 0 !important } }
November 7, 2017 at 9:12 am in reply to: How to add lightbox/pop-up containing text on clicking a picture on enfold? #873576yes – it seem not to work this way. Testing it on Enfold 4.2
i guess a load event is needed:
function popup_script() { ?> <script type="text/javascript"> jQuery(window).load(function(){ jQuery('.open-popup-link').magnificPopup({ type:'inline', midClick: true }); }); </script> <?php } add_action('wp_footer', 'popup_script');
-
This reply was modified 7 years, 7 months ago by
Guenni007.
this is more or less in goods ( no googles-) hand
The bots do scan often but not so often as we like it when a new site is born.
On Google developer Site you can there for example submit a sitemap. And you can try to trigger a scan. Thats all.
The Rest is SEO – and there are alot of good plugins.but first – not thinking of things you don’t have in your hand. Try to get familiar with wordpress first.
Setting up an individual Link in a WordPress menu is not a complicated thing – you only have to know where to find it.see the red arrow – click on that fly out menu.
here are the admin options for the menu. Here you have the choice to mark the boxes you like to have on green arrow.
click to enlarge:
There is the individual link – insert in url a #
and the name you like beneath
there you can put in submenu links ( by the way a submenu link is place a bit more on the right side under the main menu link – you can reach it by dragging it with your mouse )on wordpress on the left side there is the dashboard.
Now (activating the child-theme). there is an Options dialogo for Enfold Child – click it.
now on the right side there are Enfold Options.
If you like to start with a demo – goto “Demo Import”
look what all is in there ( some of them needs some plugins – f.e. if there are a shop demo – the woocommerce plugin)
on each of the images there is a link to the demo-page – you first have a look to – if it will fit your needs.
if so – hover the image and click “click to import”the child-theme comes with a lot of advantages. One big advantage is that all settings there will not be lost on parent theme updating.
The pre-build child-theme comes with an own functions.php file.
This is except of some comments in it at the beginning empty. most of the tips and hints here on board goes to that file.
functions.php is a very special file. On wordpress all other php files like ( header.php, footer.php, single.php, index.php etc.) are replaced by a file with the same name in child-themes folder. The child-theme functions.php contributes to the parent functions.php.
There are some functiions and codes which could force a overwriting of the parent rules – but this had to be special codes.
you see here at the documentation of enfold: https://kriesi.at/documentation/enfold/code-snippets/
f.e. if you like to change the logo on different pages : https://kriesi.at/documentation/enfold/change-the-logo-url-on-some-pages/
These changings stay active even if you are updating your parent-theme (enfold folder)
etc.this is for quick css – don’t know where it comes from. But this is the amount of shift it will bring it back to center the timeline again.
it is not necessary to do it in custom.css – the code you entered there is ok but i guess on quick css it will work too
by the way you don’t need to drag&drop them from the window on the left side in filezilla
you can even drag&drop them from outside filezilla into the themes folder (zB from your desktop or download folder.you got a ftp account ?
That is the fastest and secured way.
All my updates on enfold i do it this way.
if you have your account data.
1) Goto the wordpress directory via ftp – navigate to wp-content/themes/
that is the directory where the themes folders come into.
2) Your downloaded enfold zip – decompress it til you have an enfold folder
3) download the child-theme (believe me this is a good advice) here: Download
4) decompress it til you see enfold-child folder
5) both folders (enfold and enfold-child) upload it to this themes folder.
– 5a) If you are using filezilla – on the right side there is the Server directory. navigate to themes and click on it once.
on the window beneath there is the content of the themes folder. (
drag&drop both folders to the themes folder:
click to enlarge:
– now it is most done. Wait til upload process is finished with success.
6) Login to your wordpress with your account.
7) Goto Dashboard – Appearance – Themes. ( the child-theme preview looks a bit different – because i made my own preview image for it)
8) activate the child-theme – move with your mouse over the child-theme preview and than press activate
click to enlarge:
if you have further questions feel free to ask everything you like – there are no silly questionsthe white background is there but double lightbox is opening. see my hint above
aha – i wrote a custom widget for it : https://kriesi.at/support/topic/social-bookmarks-widget-how-to/
Maybe this is a nice tip to all!
And should be printed above all –
As long as a page is in construction and not quiet ready for the public! – do not use caching tools or minimizer.
You always have to go and on each css code or functions.php editing you have to clear all cached datas.
Thats horrible.
After all styling and layout – the optimisation is the last you have to do.im out now – try to delete the files as described – if there is no logo.png on that folder nothing could be done
i can navigate to your child-theme.css and the code is in.
But in your optimized css from WP Fastest Cache not !what plugins are running to cache?
WP Fastest Cache – empty all cache and ! super-cache if there is one
have you bwp-minify installedto proove my theory:
go to your folders via ftp and navigate to: wp-content/themes/enfold/images/layout and delete logo.png and logo_modern.png
you will see that these are the logos if Enfold logo dialog is empty.
or simply upload a logo file to Enfold – you will see that rules of display none will workthis is the entry in helper-main-menu.php line115
$output .= avia_logo(AVIA_BASE_URL.'images/layout/logo.png', $addition, 'span', true);
it is – if there is no logo upload the default one on that folder is set
im wondering about bglogo class on your logo – and i guess it comes if there is no logo in the enfold options dialog.
enter a logo there or try:.bg-logo { display:none !important }
thats it: functions-set-avia-frontend.php on line 475ff
/**
* return the logo of the theme. if a logo was uploaded and set at the backend options panel display it
* otherwise display the logo file linked in the css file for the .bg-logo class
* @return string the logo + url
*/did you change some settings via advanced styling?
we had here the case that someone inserted a color with two ## – and that leads to a conflicthave you made any changes to other css (custom.css etc.) ?
im looking to this :
https://www.lindabradleycounseling.com/wp-content/uploads/dynamic_avia/enfold_child.cssand now i see it – there must be a missing bracket or something like that.
can you please insert it with an important !
.responsive .logo { display: none !important }
and see if it helps better.
Clear the cache of your minimizer after itand even in your quick css there is no such rule ( i gave you twice )
the last rule in a css don’t need a semicolon – only in between rules to separate it. So this with only one thing inbetween the curly brackets has no influence
where did you insert the rule ?
i don’t see the rule in your css!
you have a minimizer on start : please empty all cache datasyes that is in new 4.2
you can activate it via functions.php of your child-theme:
add_theme_support('avia_template_builder_custom_css');
Theme Options on Enfold (Child) – Main Menu – General – “Append search icon to main menu”
are you using a child-theme ?
Than put it in your functions.php of your child-theme.On edit mode of the alb element ( Masonry , Portfolio Grid, Magazine, Blog Posts … ) there will be an order option to choose
under custom css (if activated) there are
Custom Query Orderby
Custom Query Order-
This reply was modified 7 years, 7 months ago by
Guenni007.
-
This reply was modified 7 years, 7 months ago by
-
AuthorPosts