Forum Replies Created
-
AuthorPosts
-
Sorry guys.
It works perfectly, the problem was just that I didn’t had any translated page yet.
I can’t cancel the topic so…I guess I can only say sorry to disturb you for a mistake I made.This is solved.
You can close the post.Hi Nikko, thanks for your reply.
I am sorry but I am not that savvy with code so I have problems here.
I used the code below to do the dequeue as suggested in another post.
If i put this code in my function.php child theme all my avia stuff on the website disappear.
Can you please provide me a link where to learn how to do this?
function wp_change_aviajs() {
wp_dequeue_script( ‘avia-default’ );
wp_enqueue_script( ‘avia-default-child’, get_stylesheet_directory_uri().’/js/avia.js’, array(‘jquery’), 2, true );
}
add_action( ‘wp_print_scripts’, ‘wp_change_aviajs’, 100 );I made the child theme because I wanted to fix a couple of problems with the website I am doing using some css or with a function, but at this stage whatever file I am touching on the child theme is making a mess on the way I see the website.
In the private content area you have admin credential to use to access and have a look.- This reply was modified 7 years, 2 months ago by grafica6106.
Resetting a Mailchimp Shortcodes I had in a page, its back to the Stretched layout..(don’t ask me why) …Mistery mode is on..
I guess this is solved..
If you will be able to help me with the other post I have active, That will be much appreciated.
LAYER SLIDE – SLOW DOWN FADE EFFECT SPEEDTemporary user admin in private content below.
while waiting for your reply i did:deleted child theme
uploaded a fresh downloaded clean version of Endold and installed
The problem was still there
erased all options in enfold
problem still there
recreated a child theme from scratch having enfold clean
problem still there and the funny things is that if I go to functionphp of my child theme, the debug activation code is not there but is working.I don’t know what to say, I just need to make it work properly to solve other problem highlighted in another support ticket I made few hours ago.
I wonder if I need to reset all the job I have done till now.Thanks for your tips about Child Theme. I did it and is very smart.
Now I have two consequent questions:1) speaking about the above, having now a child theme do I need to create a new shortcodes.js file in my child theme directory containing only the code I want changed? just the single line or all the function?
2) I would like to change some css related to a easy slider I have in my home page. I just need to add that css to my child them stylesheet correct?
How can I find the correct .classname or idname in my parent one, to be sure to use the same class or id?Thanks.
Well, even if I accept your point, shall I say is a bit disappointing to know this after a week waiting for a reply?
Thanks anyway.Regards.
Anyone please…start to be a bit urgent sorry…
Hi Rikard,
you can now access the backend of the page with the same details I gave you last time. The user role I gave you was a subscriber role if you try now I’ve changed it and should work.
I repeat myself again. the problem for me here is not that the element does not work Rikard, instead, I was looking for any suggestion to make it work the way I described above.
Basically, I need to make the slider to display always at the same size (height) of the background image I have on the left-hand side. I need to make the content of both cells display always at the same height of course depending on the screen, so we need to maintain the scalability. If you try to scale the screen now you will see the difference of height between the background image on the left and the slider on the right.
I think (i have been told) this could be done having a javascript that checks the first cell content size and makes the slider the same size.
I have this snippet:
<script>
> $(document).ready(function(){
> $(window).trigger(‘resize’);
> });
>
> $(window).on(‘resize’,function() {
> offsetHMatch();
> });
> function offsetHMatch(){
> $(‘.overlap’).each(function(){
> $(this).find(‘.overlap-large’).height(‘auto’);
> $(this).find(‘.overlap-small’).height(‘auto’);
> var s1 = $(this).find(‘.overlap-large’).height();
> var s2 = $(this).find(‘.overlap-small’).height();
>
> if (s1 >= s2)
> $(this).find(‘.overlap-small’).css(‘height’, s1 + “px”);
> else
> $(this).find(‘.overlap-large’).css(‘height’, s2 + “px”);
> });
> }
</script>
where I should be able to replace these .class names with those used on the element to define the two cells and the div container and should work.
I think I am using the wrong classes because is not working.
I am placing this snippet in the google analytics text code area to try it..maybe this is another issue as well.
Can someone please help me to solve this issue?
ThanksMaybe…maybe something that check the size of the first cell (while scaling with the screen) and make the second cell the same size of the first with the content stretched on it. That way should work, I m thinking of a Java snippet but don’t know the code of it and don’t know where to put it.
Waiting for some helps…thanksAnyone can help me with this one please?
I have provided link and temporary user on the private content area.
Of course I am open to use any other kind of slider as long as it makes me able to do what I describe above.
Forgot to mention that we are talking about the section right after the first video on the website.
Thanks- This reply was modified 7 years, 2 months ago by grafica6106.
Any reply, please??
#update: I tried the above code in my function-enfold.php, doesn’t work.
#update2: Found the solution by myself. Sharing for anyone in my same situation.
Basically I was setting the menu custom link in a wrong way in my menu.Setting up the menu with your custom link, You DON’T need to copy the whole URL of your page, (example http://mywebsite/mypage/#myanchor) in the URL space, just use #myanchor and then in Navigation Label you put the name you want to appear in the menu.
So let’s say you want to do the classic “about us” link.
First of all in the color section, at the bottom in the ID field, you put about without any hashtagg, save. Go back to menu settings, select the custom link and setup the URL writing #about (including the hashtagg) and then About Us in the Label field. Done.
Works perfectly.
So my bad, but worth to learn it. Would have been great to have a reply anyway.
Thanks.- This reply was modified 7 years, 4 months ago by grafica6106.
Hi,
just found this post which actually describe is my same issue.
I would like to have the same smooth scrolling effects there is on the enfold restaurant demo rather than having the website directly jumping to the anchor.
I saw the above code to modify the functions.php file but would like to be sure about where I have to add that code. End of file…beginning…after a certain point…I know I could just import the demo, but I would really like to learn how to do it from you guys.
Thanks for your help.
Andrea- This reply was modified 7 years, 4 months ago by grafica6106.
Hi Ismael,
sometimes I feel like a stupid when the solution are just so easy and I can get it by my self.
Of course the permalinks, anyway thank you very much for your help.
Problem fixed.Regards
A. -
AuthorPosts