Forum Replies Created
-
AuthorPosts
-
Hi!
1. I see. Yes you will want that in the child theme functions.php file only. If you have it also in the parent theme functions.php file then it’s going to cause a “function with same name” error.
2. You can do that with template files (header, footer, sidebar, etc etc). WordPress will use them instead of the parent theme templates. The functions.php file will be executed on both though, child and parent.
Best regards,
Elliott- This reply was modified 10 years ago by Elliott.
Hi C-LabMX!
Your code is working fine on my end. Make sure to add it to the bottom of the functions.php file. You may also need to refresh your permalinks in Dashboard > Settings > Permalinks and set it to post name. Make sure to deactivate all plugins while testing.
This is more of a general WordPress question than the theme so it would be best to ask in the WordPress support forums, https://wordpress.org/support/.
Best regards,
ElliottHey webdevsd!
I checked your site and your images are currently being stretched to fit inside the slider container. The problem is that your using small images 350 x 250. To fit them inside the container they are going to be upscaled and cropped which makes them blurry. It would be best to use some bigger images or set the slider width to around 400px or smaller.
Cheers!
ElliottHi!
Try adding this to your custom CSS.
#header_meta .sub_menu { left: 80px !important; } .av-main-nav > li > a > .avia-menu-text { font-size: 1.1em !important; }
Regards,
ElliottHi bryanpeck!
Is our contact form shortcode not working either? If there are no typos in the email address and they are not arriving in the spam folder either then it’s most likely a problem with the server.
Try installing this plugin, https://wordpress.org/plugins/wp-smtp/, and send a test email in the plugin settings to see if it arrives. If PHP mail is not working then you will need to switch to SMTP mail and contact your hosting provider for help in configuring the settings.
Cheers!
ElliottNovember 25, 2014 at 9:15 pm in reply to: IE9 – sidebar not floating left/right – appears under main content area #357934Hey Jason!
It appears fine when I emulate IE9 in Windows 8. Can you take a screenshot of what your seeing?
Cheers!
ElliottNovember 25, 2014 at 9:12 pm in reply to: Size limit for Video Thumbnails in Masonry Gallery? #357930Hey mabraxas!
Is there a certain way you want to make the images smaller? If you just want to shorten their width a bit then you can drag a 1/2 column or other layout element over and then add the masonry gallery inside of it.
Best regards,
Elliott- This reply was modified 10 years ago by Elliott.
Hey IconicD!
Try opening up /enfold/functions-enfold.php and change line 97 from this.
$defaults = array('numberposts' => 5, 'post_type' => 'any', 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false);
To this.
$defaults = array( 'post__not_in' => array( 1, 2, 3 ), 'numberposts' => 5, 'post_type' => 'any', 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false);
And change 1, 2, 3 to the IDs of the pages you want to exclude.
EDIT: Oops, looks like we replied at the same time.
Regards,
Elliott- This reply was modified 10 years ago by Elliott.
Hi alessandro!
I’m sorry but I’m not sure I understand. Can you send us a link and take a screenshot highlighting what your trying to do? This will help us out quite a bit.
Regards,
ElliottHi Nimav!
That’s how it should be but I think your missing some CSS. Let’s try the following.
1. Deactivate all plugins.
2. Create a backup before completely deleting Enfold from your WordPress theme folder and then download + upload a fresh copy from themeforest. This will ensure that all of the files are updated.
Best regards,
ElliottHi!
Glad you got it sorted Guilherme.
@Mariusz, Send us a link and we’ll take a look. Be sure to deactivate all plugins while testing.
Best regards,
Elliott- This reply was modified 10 years ago by Elliott.
Hey webdevsd!
You’ll want to use the grid row element instead. You can edit each cell to have a custom background among other things.
You can see an example of it in the bottom of this page, http://kriesi.at/themes/enfold-business-flat/service/.
Cheers!
Elliott- This reply was modified 10 years ago by Elliott.
Hi birte5!
Try setting a custom value again and then add this to your custom CSS.
.logo { position: relative !important; top: 10px !important; } .avia-menu-fx { display: none !important; }
That will also take care of the line under your menu links.
Cheers!
ElliottNovember 25, 2014 at 8:07 pm in reply to: Font weight is 400 logged out but 300 when logged in (what I want) #357862Hey Tomzilla!
Sorry about the problems your having. It looks like you have it set to 300.
h1.main-title.entry-title, h1, h2, h3, p.tagline, .av-subheading { font-family: "Open Sans"; font-weight: 300 !important; } .avia_textblock h2, .avia_codeblock h2 { font-weight: 300 !important; }
Did you make sure to clear your browser cache and any caching related plugins? What happens when you deactivate all plugins?
If your still having problems then send us a WordPress login and we’ll take a closer look.
EDIT: It looks like you replied right before me. Go ahead and send us a login in a private reply and we’ll take a look.
Cheers!
Elliott- This reply was modified 10 years ago by Elliott.
Hi!
Yes you would need to add that to the functions.php file of your child theme. If you don’t have a child theme yet then you can download our starter child theme here, http://kriesi.at/documentation/enfold/downloads/.
To make it 5 columns then drag over the archive.php template from Enfold into your child theme folder and change line 45 from this.
'columns' => 3,
To this.
'columns' => 5,
Cheers!
ElliottHi!
Are you sure you added the “whitetogray” class in the “Custom CSS” field of the color section? I didn’t see that class added to any of the color sections in your source code.
Also, to target an element via CSS you use the period instead of pound like so.
.whitetogray { background: -webkit-linear-gradient(white, #dedede); background: -o-linear-gradient(white, #dedede); background: -moz-linear-gradient(white, #dedede); background: linear-gradient(white, #dedede); }
Cheers!
ElliottHi Beni!
Your currently using Enfold 3.0.2. Updating to the latest version, 3.0.4, should fix this.
See here for updating, http://kriesi.at/documentation/enfold/portfolio-item/update-theme-files-with-ftp/.
Best regards,
ElliottNovember 25, 2014 at 7:35 pm in reply to: Site width and original image size(s) recommedation #357826Hey gkendall!
The 1366 x 768 resolution seems to be the most popular display right now, http://www.w3schools.com/browsers/browsers_display.asp.
By default Enfold’s container width is set to 1310 which is a good place to keep it at.
As long as your images are bigger than their container they will display and resize nicely. If they are smaller then they may display a little blurry depending on where they are being used. Personally I resize all of my images to 1000px width. This keeps their filesize very small but they still display nice on bigger screens.
Regards,
Elliott- This reply was modified 10 years ago by Elliott.
November 25, 2014 at 7:29 pm in reply to: catalogue title en prices on a tablet on mobile are crossing #357818Hey Tim!
I see what you mean. Would you like to try having them display beneath the title? This way they will not overlap on any screen size. If so then add this to your custom CSS.
.av-catalogue-price { position: relative !important; }
Best regards,
ElliottHey Maucerichris!
Your talking about this correct? http://kriesi.at/themes/enfold/portfolio/portfolio-ajax/
Unfortunately the AJAX portfolio is only designed for images currently and it would take a lot of time and code to add videos so it would have to be considered custom work for now. You can request this feature here, https://kriesi.at/support/enfold-feature-requests/, and we’ll see if we can get something worked out in the future.
Best regards,
ElliottNovember 25, 2014 at 7:19 pm in reply to: HOW TO: enable social share only on some special PAGES #357805Hi COLORIT!
Try this out.
add_filter('avf_template_builder_content', 'avia_add_social_toolbar_template_builder', 10, 1); function avia_add_social_toolbar_template_builder($content = "") { if ( is_page( array( 1, 2, 3 ) ) ) { $content .= avia_social_share_links(array(), false); } $content .= ''; return $content; }
Where 1, 2, 3, etc are the ID’s of the pages you want it to display on.
Best regards,
ElliottHi!
EDIT: Ok I think I see what you mean now. Try deleting the template and create a new one and use that to see if it works.
Cheers!
Elliott- This reply was modified 10 years ago by Elliott.
Hi!
You have this somewhere in your custom CSS which is turning it red.
.current-menu-item .avia-menu-text { color: #d1202f !important; }
I couldn’t tell where because you have all of the CSS minified.
As for the menu overlapping the logo are you wanting to reduce font size of the menu? If so then you can do that in Dashboard > Enfold > Advanced Styling.
Best regards,
Elliott- This reply was modified 10 years ago by Elliott.
Hey!
I logged in but it looks like your still using Enfold 2.5 and WordPress needs to be updated. Go ahead and create a backup and update WordPress and Enfold to the latest versions so we can see what’s going on.
I would activate the parent theme first to see if everything is ok and then activate your child theme to see if it’s causing problems.
Cheers!
Elliott- This reply was modified 10 years ago by Elliott.
November 25, 2014 at 6:59 pm in reply to: Fixed Object keeps disappearing on my homepage on mobile #357782Hi!
The reason it’s doing that is because it’s currently in your header and the z-index is different. Unfortunately the only way I can think of to do it is to add it outside of the header element.
I would consider using a child theme. We already have one made that you can use as a starter, http://kriesi.at/documentation/enfold/downloads/.
After activating it you can import your parent theme settings in Dashboard > Enfold > Import/Export.
Best regards,
ElliottNovember 25, 2014 at 6:55 pm in reply to: Editing Woocommerce single product page and customer emails. #357778Hi!
Try adding this to your custom CSS.
.single-product .product_title { margin-top: 100px !important; }
Regards,
ElliottHi Zaccc!
Try adding this to your custom CSS.
.recentcomments a, .widget_recent_entries li a { font-style: normal !important; }
Cheers!
ElliottHey COLORIT!
Try using a codeblock element instead of a textblock element to see if that works for you.
Best regards,
ElliottHi prabu_venkat!
Are you talking about the “Share links at the bottom of your blog post” section? Facebook and twitter should be displayed there. Send us a WordPress login and we’ll take a look.
Also make sure your using Enfold version 3.0.4 and that you have all plugins deactivated while testing.
Cheers!
ElliottHi prabu_venkat!
You have the masonry element displaying on your homepage and for your category archives you have the blog grid layout and your tag archives you have the single author small layout I think.
By default your blog and archive layouts will be the same, whatever you set in Dashboard > Enfold > Blog Layout. Are you trying to get the blog layout to display as a masonry like on your homepage? If so then that would take a lot of time and code and would have to be considered custom work.
If you want your homepage to display a blog grid layout then you would want to use the blog posts element instead of the masonry element.
Cheers!
Elliott -
AuthorPosts