-
AuthorPosts
-
August 19, 2019 at 11:05 pm #1129038
Hi Guys!
I recently purchased the Enfold theme and I am just beginning the customization, However, I am having a few problems:
1. On my homepage, I played around with the LayerSlider , but when I deleted my practice slides, there’s now an error stuck at the top of my homepage that I can’t get rid of. I tried reloading a fresh demo and switching between the child theme and the regular, but the error is still there.
2. I will customize the theme with my own design, but I won’t do any modifications to files etc. Just my own pics and personal design. For example: I may make links different colors. I don’t want any updates on the theme to override this. So, should I use the child theme or the regular?
3.Which plugin is best for hiding my ENTIRE SITE away from PEOPLE… NOT SEARCH ENGINES while under construction? I currently have WP Maintenance Mode.
4. I like the Pre-loader, but I don’t like the way that everytime you click on an item, that page shows again. How do I make it so that the Pre-loading page only loads ONCE when you are first visiting the site?Thank you so much in advance.
August 21, 2019 at 9:05 am #1129499Hey entrepreneurgirl,
Sorry for the late reply, the error you are seeing on your homepage is because you have a layerslider element on your homepage, but you have no sliders. To correct please remove the element from your page:
As you customize your site with new images or text you won’t need to worry about losing these changes when the site updates. As you make customizations in the “advanced stylings” panel you won’t lose any of those settings when you update either.
If you make css customizations and add the css to the Quick CSS field, this will also be safe from updates:
But if you plan to add functions in the functions.php file you will lose this when your site updates, so in this case installing the child theme will protect your changes when you add the functions to the child theme functions.php.
Please use our prebuilt Child Theme here.
For the preloader, you can have it show only on the homepage with a function, but we don’t have a function to show it only once per session. Please see this solution or this solution.
Please let us know if this helps.Best regards,
MikeAugust 22, 2019 at 11:50 pm #1130156Hi Mike,
Thanks so much for your help! It turned out great! I am wondering though..
1.Do you happen to think of a good WordPress plugin that will hide my ENTIRE site during construction? I’m currently using WP Maintenance Mode, but I’m not sure if it only hides the homepage or if anyone can get into my other pages.’
2. If you go to ‘Shop’ on the main menu, scroll down and you will see images of guitars. I DON’T want them there and can’t seem to get them out. They were images I had when I used my old theme. I haven’t placed them in Enfold, so I don’t know how they got there. Can you help with that?Looking forward to hearing from you.
August 23, 2019 at 6:20 am #1130202Hi,
Glad to hear this worked for you. I tested your maintenance plugin by logging out and going to a few known page url’s and the plugin hid them from me, so your plugin is working well and I can’t think of a better one. Enfold does offer this functionality in the theme settings, but since you have the plugin in place you should go ahead and use it.The images of guitars are actually products, to not have them not show on your “Shop” page, aka, your store, I found this function in the woocommerce documentation, and I added it to your child theme functions.php:
/** * Exclude products from a particular category on the shop page */ function custom_pre_get_posts_query( $q ) { $tax_query = (array) $q->get( 'tax_query' ); $tax_query[] = array( 'taxonomy' => 'product_cat', 'field' => 'slug', 'terms' => array( 'acoustic-guitars' ), // Don't display products in the clothing category on the shop page. 'operator' => 'NOT IN' ); $q->set( 'tax_query', $tax_query ); } add_action( 'woocommerce_product_query', 'custom_pre_get_posts_query' );
Best regards,
MikeAugust 26, 2019 at 10:03 pm #1131116Hi Mike.
Sorry for the late reply. Thank you for your help. However, I don’t want to NEVER be able to use that category on my homepage, I just wanted those images removed RIGHT NOW, so that I could use better ones.
1. What do I do when I want to place this category back on my homepage?2. I managed to change the color of the links in my mega menu with some code, but I’m having a problem changing the color of the links in the dropdown menu. I’d like them solid black and to turn red when I roll over them. Help?
Thank you.
August 27, 2019 at 3:45 am #1131159Hi,
When you want the category to so again remove the function above, or I could remove it for you now and you can change the items to draft status.
For the mega menu links, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.header_color .main_menu ul ul a { color: #000 !important; } .header_color .main_menu ul ul a:hover { color: red !important; }
Best regards,
MikeAugust 28, 2019 at 1:47 am #1131479Hi Mike,
Thanks so much! The code worked great! I’m in the process of learning to use the grid row. I want to add 4 rows with each row having 3 cells starting right beneath the full length slider at the top of my homepage. I simply cloned the row that came with the theme. However, I’m wondering…
1.How do I increase the LENGTH of the cells? I not only want each row of 3 to fill up the width of the page, but I also want the cells larger.2. I want my image to be the entire width and height of the cells. Are there specific measurements that would be suggested?
3. The images in the grid row collection that came with the theme, they have the overlay first and then you see the image when you rollover. How do I make the image itself show FIRST and THEN the overlay when you rollover? I’ve included a link to an example site in the Private Content area so that you can see what I’m after.
Looking forward to hearing from you.
August 28, 2019 at 4:47 am #1131488Hi,
To make the cells larger & the background image, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.home_section_2 .sub_banner_product { height: 100vh !important; } .home_section_2 .sub_banner_product img { height: 100vh !important; }
This css makes the cells & image 100% of visual height (100vh), but this will stretch the image some unless you use images that have the same ratio, that is higher than wide.
For your last question, you asked for the image itself show FIRST and THEN the overlay when you rollover but this is what I’m seeing, perhaps you would like it the other way, or perhaps I misunderstood?
Please see the screenshot in Private Content area.**As I review my answer I think I’m a little confused, is the site you linked to a shopify store that you wish to model and not the one you need css for? In this case the css will not help you, can you link to your page? I don’t see the same grid layout on your site.
Best regards,
MikeAugust 29, 2019 at 1:16 am #1131777Hi Mike.
You are correct. The store you viewed is a store that I simply want to model. I DO NOT need any css for THAT store. I just wish for what you are seeing… the picture crystal clear FIRST and THEN the overlay as you rollover. I have added 4 grid row columns to my site with product departments (you can see the results if you ‘visit site’). I haven’t added the images yet, so they are captioned over the images that came with the theme. I’m fine with the size of the grid rows..1. I need the image itself to show clear FIRST and THEN the overlay as you see on that site.
2. What size are the images that came with the grid rows in the theme? I need my images to fit perfectly that way.
Thank you so much!
August 29, 2019 at 5:13 am #1131786Hi,
Thank you for the feedback, to change the overlay to hover, please go to the image in the grid, then Caption > Caption Appearance option and change it to “only display on hover”
I changed one as an example, please clear your browser cache and check.As for the size of the images, you can use most any size image and it will be cropped, for the image in the cell that I adjusted for you it is 1500px by 630px, some of the other images are 1732px by 1155px. Please take a look at the images in the media library and click on them to see the details.
Best regards,
MikeAugust 30, 2019 at 4:00 am #1132150Hi Mike,
That worked great! Once more, I need your help. I realized that I wanted the caption on the image BEFORE it’s hovered over, so I tried deleting the 2nd element in the first grid row and replacing it from media library just to test if it would be the same size as the original considering I keep having a problem getting images the correct size. Good I checked because again, the image DOES NOT FIT! Not only that, but unlike the other elements, there’s no place for me to edit that element! The option doesn’t come up. I don’t understand why because it is the EXACT image that came with the theme! I have not modified it in any way. PLEASE show me what to do to get my images properly sized. Images are EVERYTHING on a website! You can see what I’m talking about on the back end of my home page as well as if you ‘visit site’.Thank you so much for your help!
August 30, 2019 at 5:52 am #1132159Hi,
Please note that when you removed the image from the second cell to test the image size you added the image back as a background image to the cell and not in an image element like all of the other cells. This is why you don’t have the same options. Please try adding the image to an image element within the cell.For having the text show always and the background color only on hover, we do not have that option built-in, but I have created this effect in the first cell by changing the Caption > Caption Appearance option to “only display on hover” as above, and then adding this css in your Enfold Theme Options > General Styling > Quick CSS field:
/* to show text on grid cell image always & background color on hover */ #collections .av-image-caption-overlay { opacity: 1 !important; } #collections .av-caption-image-overlay-bg { background-color: transparent !important; } #collections .av-image-caption-overlay:hover .av-caption-image-overlay-bg { background-color: #6786a1 !important; }
Please clear your browser cache and check.
Best regards,
MikeSeptember 5, 2019 at 2:45 am #1134153Hi Mike,
My apologies for the delay. Computer problems over the weekend. However, thank you. It looks good. I am having a problem though trying to replicate what you did. Next to the first cell that you corrected, as practice, I inserted a guitar image in the cell beside it. I placed the same options in that cell as you did in the first one. However,
1. The guitar image doesn’t keep the overlay when you hover over it.2. I can’t seem to get the image the EXACT SIZE of the cell the way the other images are. Help.
Thank you for your help and patience.
September 7, 2019 at 4:26 am #1135197Hi,
Sorry for the late reply, since we don’t have an option to apply the hover effect while always showing the caption, the css I wrote before requires that the Image > Caption > Caption Appearance is set to “Only display on hover”
I have set this for you, please check.
I have adjusted the image for you so there is more space around the guitar and set the upload size to 1485×1200 so it will show as 495×400, please check.
I assume that you will have more images to resize like this so I’m attaching the PhotoShop file and the sample image I used for this in the Private Content area. If you don’t have PhotoShop you can send it to someone on Fiverr with your other images and have them all done for $5Best regards,
MikeSeptember 12, 2019 at 2:25 am #1137319Hi Mike,
Thank you for your help, expertise and for the referral. I am interested in how to place the search bar in the center of my header and make it look the way it is on the Enfold Documentation page. Any suggestions?Thank you.
September 12, 2019 at 4:06 am #1137340Hi,
Well the documentation search bar is below the header which may be a little easier, for that you would just add a code block element to the top of your page and include the search shortage below.
But if you want it in your header you would first add a widget area to your header.
Then create the search shortcode using this function.
And then add some css to suit, I’m not sure if this css will suit you but we can assist after your search bar is in place.Best regards,
MikeSeptember 17, 2019 at 12:41 am #1138968Hi Mike,
Thank you so much for explaining that. I’ve been trying to figure how to make the cart a little larger. Any suggestions?Thank you in advance.
September 18, 2019 at 5:32 pm #1139602Hi,
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.cart_dropdown_link > span:before { font-size: 30px !important; }
Then clear your browser cache and check.
Best regards,
MikeSeptember 22, 2019 at 1:36 am #1140518This reply has been marked as private.September 22, 2019 at 2:45 am #1140523Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘LayerSlider Error on Homepage’ is closed to new replies.