Forum Replies Created
-
AuthorPosts
-
Hi,
Indeed, the problem seems to come from the child theme. When I revert back to the parent theme I don’t have any issue with the checkout page… Weird.
As you can see I don’t have any custom PHP code that affects the checkout page itself so I’m not sure where the problem comes from exactly.Could you help me with this? Thank you
- This reply was modified 3 years, 9 months ago by DeMamp.
Hi,
Sure, here you go :)
Thank you
Hello,
I disabled the cookie consent bar and indeed it is this feature that breaks the checkout page.
The thing is that users cannot get access to the checkout page without having been on any of the other pages prior. This means that they would’ve already agreed to the website’s use of cookies. That’s why I’m not sure why disabling the cookie consent bar ONLY on the checkout page would be a problem.
Is there a way I can block it on a specific page? This is the current code I’m using but it doesn’t work:
#top.postid-1624 .avia-cookie-consent.avia-cookiemessage-bottom {display:none !important;}
Thank you
- This reply was modified 3 years, 9 months ago by DeMamp.
February 26, 2021 at 8:27 pm in reply to: Menu underline the same width as the menu titles? #1283982That works perfectly! Thank you so much Ismael.
Thank you so much Mike, that works great! :)
(The thread can be closed now)
Hey,
Sorry for hijacking a random thread, but I made this mistake before.
Make sure that when you select your image you choose the right size: https://prnt.sc/104xzta
Currently, your image seems to be set to “medium” when it should probably be set to “full size”.I hope this helps.
February 23, 2021 at 3:43 pm in reply to: Menu underline the same width as the menu titles? #1283114This reply has been marked as private.February 23, 2021 at 2:19 pm in reply to: Menu underline the same width as the menu titles? #1283093This reply has been marked as private.This reply has been marked as private.Hi Mike,
Thank you! Unfortunately I don’t see any change.
I wanted to adjust the width because when I inspect the element and change the width in CSS (#top .logo) the logo does change size. Maybe it’s different with jQuery? I tried a few things such as “width: 100%”, “size: 200px”, I tried to play with the left and right padding and margins, etc. but the logo remains the same size.
Thanks a lot
- This reply was modified 3 years, 10 months ago by DeMamp.
Hi Mike,
Thank you so much for your help. I can’t tell you how grateful I am.
I’ll just use cPanel to edit the files from now on. I’m glad the issue isn’t really one.
The code works perfectly, thank you! I tried to adjust the width as the second logo is a bit too small, unfortunately I can’t seem to find out how to do so. I tried a few things myself such as:
$('.logo a').find( 'img' ).attr('src', 'https://url.com/wp-content/uploads/2021/01/2nd-logo.png').css({ 'padding-top': '20px' 'width': '200px'});
or
$('.logo a').find( 'img' ).attr('src', 'https://url.com/wp-content/uploads/2021/01/2nd-logo.png').css({ 'padding-top': '20px'}) ({'width': '200px'});
But since I’ve never coded before these are probably silly attempts… I also tried to Google “JQuery” “width” “script” but I didn’t find anything resembling your code. If you could tell me what to add to adjust the width that’d be perfect.
Thanks again for your great support!
- This reply was modified 3 years, 10 months ago by DeMamp.
Hi Mike,
No need to be sorry! Everything is fine, we can close this thread.
Thank you again
This reply has been marked as private.Hi Victoria,
Sorry for the delay! The error is still there. I disabled my caching plugins and went to Cloudflare and enabled “Development Mode” so any kind of caching or minification should be disabled now.
This reply has been marked as private.Thank you so much. The code works perfectly.
However, I am now getting critical PHP errors: when I try to remove the code from functions.php, I get this error: “Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.”
I’m also getting new WordPress errors when checking the Site Health tool:
1. “The REST API request failed due to an error”
2. “Your site could not complete a loopback request”I disabled all my plugins but it doesn’t change anything.
I find it hard to believe that the cause of these problems is the javascript code but it literally happened right after I put it in functions.php. I was able to add it but right after I tried to remove it, it didn’t allow me to.
Also, is there a way to change the padding and width of the second logo without affecting the first? I tried to edit “#top .logo” but obviously the changes affect both logos.
Thank you!
- This reply was modified 3 years, 10 months ago by DeMamp.
February 11, 2021 at 6:43 pm in reply to: Border above selected menu without changing the margin #1279829Hello,
They are actually disabled on my end: https://prnt.sc/z44zls
But the code still doesn’t work…EDIT: I found out that I had the same code twice. Also, putting it at 77px and adding !important solved the problem!
Thank you!
- This reply was modified 3 years, 10 months ago by DeMamp.
This reply has been marked as private.Okay thank you. I thought the Google fonts were all already “loaded” since we are able to use them very easily in Enfold.
I’m not a developer in any way so I’m not sure how to load specific fonts. From what I’ve read on Google I have to import the font using @font-face? or @import? And then specify the page I want the font to appear on?
Would something like that work:
.page-id-xxxx @import url('https://fonts.googleapis.com/css2?family=Roboto'); font-family: 'Roboto', sans-serif;
Thank you so much
Hello,
Oh I see. Seems more complicated than I thought…
Let say I choose the Enfold option to shrink the header, is there a less complicated way (with CSS) to make it look like it’s barely shrinking? Basically a way to adjust the shrinking size of the header.
Thanks for the support :)
EDIT: Well apparently it does not work because the shrinking header does not support overlapping logos… Any fix for that?
- This reply was modified 3 years, 10 months ago by DeMamp.
I’m so dumb. I figured it out 2 seconds ago and went there to apologize before seeing that you already replied…
Thanks a lot, problem solved!
This reply has been marked as private.I reinstalled the plugin and the link should be working. Thank you!
Sorry, it should work right now! A backup I made yesterday removed the plugin.
Sorry, it should be working right now!
If the font is not used for any element on the page from the theme options, the font is not loaded or you’re trying to use the font-weight that is not available with the theme.
The theme options allow for 2 fonts only. Does that mean that the entire website can only display 2 different fonts and not 3?
Thanks a lot
February 10, 2021 at 10:18 am in reply to: Border above selected menu without changing the margin #1279347This reply has been marked as private.February 9, 2021 at 10:37 am in reply to: Border above selected menu without changing the margin #1278989This reply has been marked as private.Hello,
I’m sorry to bump so many threads at once. I hope it’s not rude. I’m very grateful for the amazing support!
Hello,
Sure, thank you!
-
AuthorPosts