Forum Replies Created

Viewing 30 posts - 14,581 through 14,610 (of 35,007 total)
  • Author
    Posts
  • in reply to: Column anchor links not working on home page only #1309498

    Hi,
    Thank you for your patience and for the login to your staging site, the column link didn’t work because it included a hashtag and it was on the homepage, the column links are not real links, they are faked with javascript, I found that by modifying the /js/shortcodes.js file I could create a workaround for you.
    I modified line 660 from this: if( (0 == url.indexOf("#")) || ((url.indexOf(link) >= 0) && (url.indexOf("#") > 0) ) )
    2021-05-29_144545.jpg
    to this: if( (0 == url.indexOf("#")) )
    2021-05-29_145341.jpg
    and this seems to work correctly now, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Resolving blurred thumbnails on Masonry #1309497

    Hi,
    Thank you for the login, I added the code to a code block element on the /picturebooks/ page and the images are now being replaced on that page, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Socket Default Height #1309486

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Kriesi site blocking locality? #1309383

    Hi,
    Thank you, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    Hi,
    Glad that helped, any new function in the loop-index.php should work, only the currently named functions in your child theme would be overwritten. If one of those functions was changed you probably would not know until some new feature doesn’t work. Our Dev team is very careful about backward compatibility so I doubt you would have a crash but you could compare files before updating.
    I recommend creating a staging site to test all updates before applying them to your live site, as a standard procedure.

    Best regards,
    Mike

    in reply to: Resolving blurred thumbnails on Masonry #1309379

    Hi,
    You would add the function to your child theme functions.php, but please copy the code from the website and not an email and when you paste the code ensure that the arrows in the code are not changing to <
    or perhaps there is some other code error in your functions.php, if you include an admin login in the Private Content area I could take a look.
    Another way to add the code is by adding a code block element to your page and adding this part of the code:

    <script>
    (function($){
    $("#top.page-id-937 .av-masonry-entry").each(function(){
        var imageUrl = $(this).attr("href");
        $(this).find(".av-masonry-image-container img").attr("src", imageUrl);
    });
    })(jQuery);
    </script>

    Best regards,
    Mike

    Hi,
    Sorry for the late reply and thanks for the login to your site, for that one page for mobile please try this css:

    @media only screen and (max-width: 767px) { 
    #top.postid-10519 #wrap_all #main #av-layout-grid-3.av-flex-cells .avia-builder-el-9.no_margin,
    #top.postid-10519 #wrap_all #main #av-layout-grid-4.av-flex-cells .avia-builder-el-15.no_margin{
    padding: 0 15px !important;
    }
    }

    After applying the css, please clear your browser cache and check.
    If you find this works well we could add a custom ID to each grid row element and a custom class to the video element so that future page changes do not break the css, currently the IDs and classes in the css are the default that may change if the page is updated.

    Best regards,
    Mike

    in reply to: Masonry / Grid Layout Captions #1309244

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Blog Page – Post category and Date not displaying #1309243

    Hi,
    To target the date text you could use .date-container but the text is already as far left as possible so I’m not sure what you are trying to achieve. This css with change the date red to show an example of the target selector:

    #top.archive.category #main .post-entry .date-container {
    	color: red;
    }

    To hide the author text:

    #top.archive.category #main .post-entry .blog-author {
    	display: none;
    }

    I don’t see an excerpt to hide so I don’t know if you also want the read-more to be hidden, but you can try this:

    #top.archive.category #main .post-entry .entry-content {
    	display: none;
    }

    Best regards,
    Mike

    Hi,
    It looks like you were able to sort this out, the header is now visible on scroll.

    Best regards,
    Mike

    in reply to: portfolio element #1309097

    Hi,
    Glad that you liked it, please note that this setup created multiple portfolio grid elements each with only two items, so that the ajax container would show just above the two items, such as mid-page, the only drawback is that the multiple portfolio grid elements do not share their portfolios.
    Perhaps you could remove the previous & next ajax controls so it won’t be confusing?

    .ajax_controlls > .ajax_previous, .ajax_controlls > .ajax_next {
    	display: none;
    }

    Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    in reply to: Blog Page – Post category and Date not displaying #1309089

    Hi,
    Glad this helped, the read more sector is .read-more-link yours are currently using this css:

    .html_elegant-blog .avia-content-slider .read-more-link {
        top: 18px;
        padding-bottom: 10px;
    }

    try adjusting the top to tighten up.
    For the post excerpts, it looks like you are using the Advanced Layout Builder for your posts, so you will need to manually add your excerpts, to do so you may need to enable the Excerpt Option in the Screen Options which will give you a text area below your post area.
    Screen_Options_Excerpt_Option.jpg
    Excerpt_Option_below_editor.jpg
    For your category pages you can make adjustments with css, but you can also change the layout with this function:

    add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); 
    function avia_change_category_blog_layout($layout, $context){
    if($context == 'archive') $layout = 'single-small';
    return $layout;
    }

    please note this line: $layout = ‘single-small’; this will give you the single-small layout, you can try these different layouts:
    single-small
    single-big
    blog-grid
    bloglist-excerpt
    This overrides the theme blog layouts from the options page only for the archive pages, typically you would choose a Blog Styling layout such as Modern Business, Elegant, or Default (Business) and it would also apply to your archive pages, but some people like to use something different.

    Best regards,
    Mike

    in reply to: Resolving blurred thumbnails on Masonry #1308938

    Hi,
    Thank you for trying the masonry gallery element, I see that the same issue with the WordPress created thumbnails is occuring, I’m not sure why. As I look at your /picturebooks/ page again, I almost believe that the images are correct until you hover over them and then they are blurry, please check again and see if you also believe this, if so we can investigate the css:

    .avia_desktop .av-masonry-entry:hover .av-masonry-image-container {
        -webkit-transform: scale(1.05,1.05);
        transform: scale(1.05,1.05);
    }

    But if you don’t think this is true, then I wrote this script for the /picturebooks/ page that will replace your thumbnails with the original image that is linked in the lightbox for you to try. Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_masonry_img_script() { ?>
        <script>
    (function($){
    $("#top.page-id-937 .av-masonry-entry").each(function(){
        var imageUrl = $(this).attr("href");
        $(this).find(".av-masonry-image-container img").attr("src", imageUrl);
    });
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_masonry_img_script');

    Best regards,
    Mike

    in reply to: Lightbox Modal Window.not showing #1308933

    Hi,
    I checked your page again and do see that you are missing the need class ‘lightbox-added’ but since you have the ‘Lightbox Modal Window’ option enabled it should be working, the only thing I can imagine is that you have a script stripping it out, but I can’t see your functions.php
    I also notice that you are using ‘Advanced Custom Fields PRO’ and some of these look like they are for products, perhaps this is the issue? Can you disable this to check?
    I also see that your site is not loading the script: /wp-content/themes/enfold/js/aviapopup/jquery.magnific-popup.min.js this is needed but since you have the ‘Lightbox Modal Window’ option enabled it should be loading?

    Best regards,
    Mike

    in reply to: Missing Admin Bar #1308919

    Hi,
    I found your code in this article and tested it on my site with an additional test user that has the role of “customer” and the function works correctly:

    add_action('after_setup_theme', 'remove_admin_bar');
    function remove_admin_bar() {
    if (!current_user_can('administrator') && !is_admin()) {
      show_admin_bar(false);
    }
    }

    This code checks if the current user is not an administrator, and they are not viewing the admin dashboard. If both conditions match, then it will disable the WordPress admin bar.

    This function also works correctly:

    add_filter( 'show_admin_bar', '__return_false' );

    This code will disable the admin bar for all users when viewing the public pages of your website. All users will still be able to see the toolbar inside the WordPress admin dashboard.

    The article also suggests a plugin: Hide Admin Bar Based on User Roles.
    So please carefully check your functions.php code for errors and try again, I recommend using a Child Theme

    Best regards,
    Mike

    Hi,
    Empty rules in themselves don’t cause errors, unless you are missing a bracket somewhere then it could cuase strange behaviors. In my experience checking the css like this often identifies the problem. You could try copying your whole stylesheet to your desktop and then remove everything, except the top few lines that tell WordPress the name of the child theme, then try adding back a few rules at a time testing and clearing your browser cache each time. I agree this may take a while with your 4000+ lines of code, but I believe it will identify the problem.

    Best regards,
    Mike

    Hi,
    Thank you for your patience, to add a modified \includes\loop-index.php to your child theme simply add the directory and file to your child theme like this \wp-content\themes\enfold-child\includes\loop-index.php
    no functions are needed. I tested this with v4.8.3
    The correct line to modify in \includes\loop-index.php is 443

    Best regards,
    Mike

    in reply to: Missing Admin Bar #1308685

    Hey ilkbaharkunduzu,
    I believe that !current_user_can is intended to check for capabilities not roles.
    Try changing to (!current_user_can(‘edit_pages’) please see Roles and Capabilities.

    Best regards,
    Mike

    Hi,
    Thank you for the login, I see your homepage has this:
    Inactive Maintenance Mode Page & Inactive Custom 404 Page
    To remove this you would go to both of these settings and choose Select instead of a page.
    This means that you will need to first enable the option, then choose Select and then disable and save.
    2021-07-04_012.jpg
    2021-07-04_013.jpg
    2021-07-04_014.jpg
    I did this for you, please check.

    Best regards,
    Mike

    in reply to: Promote development / temporary page too HOME PAGE? #1308682

    Hey Stephen,
    You can pick which page is your homepage with the theme setting: Enfold Theme Options > Theme Options > Frontpage Settings

    Best regards,
    Mike

    in reply to: Problem with z-index #1308681

    Hey Peter,
    Thank you for the login and explanation, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top.home #sub_menu1,#top.home #full_slider_1 {
    	z-index: 0 !important;
    }

    After applying the css, please clear your browser cache and check.
    Please see the screenshot in the Private Content area.

    Best regards,
    Mike

    in reply to: Masonry / Grid Layout Captions #1308680

    Hey garbdesign,
    For this:
    2021-07-04_010.jpg
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top .av-inner-masonry-content.site-background {
    	background-color: transparent !important;
    }
    #top h3.av-masonry-entry-title.entry-title {
    	color: #fff !important;
    }
    .avia_desktop #top .av-hover-overlay-active .av-masonry-image-container {
        opacity: 1 !important;
    }

    After applying the css, please clear your browser cache and check.
    If you have any trouble please link to your test page so we can investigate.

    Best regards,
    Mike

    in reply to: logo not show in small business theme #1308678

    Hey pasawat8,
    Thanks for the login but I get the forbidden error when I try to use it, I believe that you have not uploaded the transparent logo to show when you are using the transparent header, please check both of these logo locations in the theme options:
    Enfold Theme Options > Header > Transparency Options > Transparency Logo
    Enfold Theme Options > Logo

    Best regards,
    Mike

    in reply to: Socket Default Height #1308677

    Hey rankbrite,
    If you are going to have no content in your page you will need to set a minimum height to the #main first container like this:

    #main > .container_wrap_first > .container {
    	min-height: 68vh;
    }

    You can adjust to suit your needs.
    When there is no page content the socket is still only about 57px high:
    2021-07-04_008.jpg
    the black space you see is after the body of the page, the browser is just filling in what you don’t have:
    2021-07-04_009.jpg

    Best regards,
    Mike

    in reply to: Current menu item in secondary menu #1308674

    Hey Ueli,
    Thank you for your expectation and screenshots, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top.single-post #avia2-menu > #menu-item-974 > a {
    	color: #000;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Removing Header and Top bar from mobile #1308672

    Hi,
    Thank you for your patience, when I view your site under 767px your header & topbar is not visible, but you have another section that looks like your header that is showing #av-layout-grid-1, perhaps you are looking at that?
    Over 767px which would be tablet view, the header and topbar are showing, perhaps this is what you meant by “mobile”?
    So how high do you not want the header to show 1440px, laptop?

    @media only screen and (max-width:1440px) {
        #header,#av-layout-grid-1 {
            display: none !important;
        }
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Change font across entire site? #1308671

    Hey Stephen,
    Thank you for your patience, in the theme options Enfold Theme Options > General Styling > Fonts you can choose from many Google Fonts:
    2021-07-04_007.jpg
    You can also add your own fonts with the Enfold Theme Options > Import/Export > Custom Font Manager option. You can read more about this in our documentation.

    Best regards,
    Mike

    in reply to: Importing demo doesn't work #1308670

    Hi,
    Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: mobile menu not working #1308668

    Hi,
    Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    Hi,
    Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 30 posts - 14,581 through 14,610 (of 35,007 total)