Forum Replies Created
-
AuthorPosts
-
ok – my test page goes to normal mode again ! its a week ago
it is working !
this is an elegant method – indeed – but i’m allways looking for child-theme solutions.by the way allthough it is on display:none it is the first logo so this might work too:
menu2.insertAfter(logo_container.find('.logo:first'));
maybe this will be something to have in avia.js on default, that only the first logo gets that.
February 17, 2018 at 9:22 am in reply to: Still want to use anchor link on mobile when color section is hidden #913585so now – next day : this will determine if hr has any id , and if so the next parents (.content) padding is set to 0px.
and set the class attributes as we want it.
So you do not have to look on which place of the DOM ( if its after section 1, 2 etc.) you used the hr with idThe function name is changed because this is more meaningfull – and we don’t need another class (nopadding) because we can set the css directly here.
function add_class_to_parent_of_hr_with_id(){ ?> <script> (function($){ $('div.hr[id]').closest('.content').css( 'padding' , '0px' ); })(jQuery); </script> <?php } add_action('wp_footer', 'add_class_to_parent_of_hr_with_id');
! we could give to those hr’s with id’s the height 0 in this code – but sometimes you can use the hight to correct scroll down position.
i use this hr like you like to use for anchors to scroll to, and because we can use this with sidebars too it is nice to have-
This reply was modified 7 years, 4 months ago by
Guenni007.
February 16, 2018 at 6:57 pm in reply to: Still want to use anchor link on mobile when color section is hidden #913343if it is not to often you can do this in functions.php of your child-theme
function add_class_to_hr_id(){ ?> <script> (function($){ $('#custom-id').closest('.content').addClass('nopadding'); $('.nopadding').css( 'padding' , '0px' ); })(jQuery); </script> <?php } add_action('wp_footer', 'add_class_to_hr_id');
i want to do the code to proove first if hr has any id – and if so get the id and and – but i’m in a hurry now
you must replace the custom-id with the id you have setted.i hope in css4 will be a parent selektor ! that would make such things definitly better
February 16, 2018 at 2:57 pm in reply to: Adding button to mute/unmute audio on fullscreen background video #913283But please report about solution.
so if i want to have all the advantages of having class logo to second and third logo – i have to live with that – and set the additional burgers to display none
I can live with that:
.main_menu:not(:first-of-type) { display: none !important; }
-
This reply was modified 7 years, 4 months ago by
Guenni007.
sorry ismael – i don’t adress this to you but to the code of enfold.
i guess it will be much easier to change the mark on meta-box ( to have hidden title_bar ) than trying to get rid of that transparency check.
What is the worst case could happen : A user set the transparency option and has perhaps on Enfold global options : show title bar.
When he looks to his page – he will check the mismatch – goes to editor again an set the whole thing to hidden_title bar.
So maybe it would be a better idea to not have the transparency check at all._____________
But on that topic here i remembered the change position code ! i i tried to position the header completely to the bottom:
function change_position(){ ?> <script> (function($){ $('#main').each(function () { $(this).insertBefore($(this).prev('#header')); }); $('#header_main').each(function () { $(this).insertBefore($(this).prev('#header_meta')); }); })(jQuery); </script> <?php } add_action('wp_footer', 'change_position');
https://webers-testseite.de/weber/
nice and even the hamburger and “drop-down” menu will go on working :lol
on ipad and an old iphone4s it works –
only the chrome browser has a little time shift on loading the page.-
This reply was modified 7 years, 4 months ago by
Guenni007.
Where is your logo ? i thought – because there wasn’t from the beginning one – that you like to have none at all.
Or do you plan now to set one. Then we would have been able to save the whole, because a separate logo would have displaced the Enfold logo.February 16, 2018 at 12:11 am in reply to: Still want to use anchor link on mobile when color section is hidden #913028i created a customised hr.php : it shows the field for custom-id only when a whitespace is used.
you can read all here – on top how to make it with download optionhttps://webers-testseite.de/edited-enfold-alb-elements/#custom-id
well it is on basis no magic –
that is the skewed section:
#color-section-skew { -webkit-clip-path: polygon(0 10vw,100% 0,100% calc(100% - 10vw),0 100%); clip-path: polygon(0 10vw,100% 0,100% calc(100% - 10vw),0 100%); margin-bottom: -10vw; }
and this is how the css is build:
click to enlarge
the only thing to know is that on webpages down means + values ; up means – values
first point x is 0 and y is 10vw down
second point x is 100% and y is 0
etc.February 15, 2018 at 10:12 pm in reply to: How to change the font color of a contact form element? #912965Thanks for info
i know that as well – but all my customers i tell that i do not allways update immediately- because there might be bugs in newest updates. Only the most important security relevant updates i do as fast as possible.
i have even the wordpress automatic updates disabled (via wp-config) – that was ok for me last time because 4.9.3 WP has some bugs.
The most important thing is to have good database backups and f.e. one Backup per month of the WP installation.
( a shaduled Backup Software on this is nice to have.)
Your customers may be impatient if they see an update ad, but if the site is offline for more than two days they will be angry.see here a solution – but values must be adjusted – thats why i like to see your page:
https://kriesi.at/support/topic/results-from-search-box-and-search-results-page-are-different/
i disabled that ajax search – i never liked it
February 15, 2018 at 8:38 pm in reply to: e-mail address is clipped on page on Iphone portrait #912907try this – maybe it is enough place:
.page-id-1257 .el_after_av_one_half { margin-left: 4%; } .page-id-1257 .avia-icon-list .iconlist_icon { margin-right: 20px; }
that is why i posted the display : none on the logo img
.logo img, .responsive .logo img { display:none !important; }
and please remove this
span.logo { display:none; }
because that is the container. If you set the container to display:none it will cause some height problems of the header
February 15, 2018 at 6:28 pm in reply to: Results from Search Box and Search Results Page are different #912854yes – thanks – thats it.
yes – but i can not see one
February 15, 2018 at 5:30 pm in reply to: e-mail address is clipped on page on Iphone portrait #912837yes now i see. but it is in footer too.
so i guess if you don’t like the word-wrap and don’t like to have 2/5 3/5 columns layout (instead of 1/2 1/2)
you only can take this to a 3-linerE-Mail: (Email address hidden if logged out)
but please do the display : none to the img
if you do it to logo – container you will have troubles on preserving the height for hamburger menu.make your browser-window very small ! The logo is still there
header_meta – see here:
February 15, 2018 at 5:11 pm in reply to: How to change the font color of a contact form element? #912825and something important to Firefox
all placeholders have transparency – to avoid this:::-moz-placeholder { opacity: 1 !important; }
February 15, 2018 at 5:07 pm in reply to: How to change the font color of a contact form element? #912822you must replace pink than with #fff :lol
to change it globaly: it is on Enfold Options Dialog: Main Content secondary font color
the rest will work with attribute selektor
#top .main_color input[type="text"], #top .main_color input[type="input"], #top .main_color input[type="password"], #top .main_color input[type="email"], #top .main_color input[type="number"], #top .main_color input[type="url"], #top .main_color input[type="tel"], #top .main_color input[type="search"]
depends on the field you like to change
February 15, 2018 at 4:39 pm in reply to: How to change the font color of a contact form element? #912805its allways better to see the link.
But do you mean the real inputed text or the place-holder text in the field ?tip for placeholder-text:
::-webkit-input-placeholder { color: pink !important; } ::-moz-placeholder { color: pink !important; } :-ms-input-placeholder { color: pink !important; } :-moz-placeholder { color: pink !important; }
-
This reply was modified 7 years, 4 months ago by
Guenni007.
February 15, 2018 at 4:26 pm in reply to: e-mail address is clipped on page on Iphone portrait #912800and you don’t like this:
<a href="mailto: (Email address hidden if logged out) ">e-mail</a>
or make the space between the columns a bit smaller:
#footer div .av_one_third { margin-left: 4%; }
or you play a bit with 1/3 width in footer (values depends on space width etc)
#footer .av_one_third:first-child { width: 36%; } #footer .av_one_third:nth-child(2) { width: 25%; }
i can not simulate it in browser if these settings are overwritten by responsive case – so test it please
February 15, 2018 at 3:58 pm in reply to: e-mail address is clipped on page on Iphone portrait #912794and it has to be written out – i mean you can place the link on an E-Mail or a sign
you can force the word break by this – but it looks horrible:
#email { word-wrap: break-word !important; }
yes – do not forget the responsive case:
.logo img, .responsive .logo img { display:none !important;; }
by the way on responsive case there is an empty header_meta
if you don’t like that :.responsive #header_meta { display: none; }
-
This reply was modified 7 years, 4 months ago by
Guenni007.
February 15, 2018 at 2:42 pm in reply to: Adding button to mute/unmute audio on fullscreen background video #912772if there is content in private content – i’m participant as you are.
February 15, 2018 at 2:06 pm in reply to: Adding button to mute/unmute audio on fullscreen background video #912765so look again to the test page. if you have my section.php and uncheck the page playes the sound and you can switch with that button.
I think the function has to be adjusted that it beginns with clicked status. Don’t know how to.
https://webers-testseite.de/3-4th-centered/
to your images mute and unmute – do you have adjusted the css from above and link to your mute/unmute png files?
did your gave the color-section the custom-class: av-section-color-overlay-wrap ?February 15, 2018 at 1:56 pm in reply to: Adding button to mute/unmute audio on fullscreen background video #912756well i have to download a video file with sound – i guess with youtube videos it will not work.
-
This reply was modified 7 years, 4 months ago by
-
AuthorPosts