Forum Replies Created

Viewing 30 posts - 14,881 through 14,910 (of 35,289 total)
  • Author
    Posts
  • 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

    in reply to: Change Woocommerce "Sale Text" into "%" #1308665

    Hi,
    Glad Ismael could help, shall we close this then?

    Best regards,
    Mike

    in reply to: deactivate the image overlay effect #1308664

    Hey diefleischerei,
    Thank you for your patience and the link to your site, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top #main .avia-gallery .avia-gallery-thumb a:hover {
        opacity: 1;
    }

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

    Best regards,
    Mike

    in reply to: Resolving blurred thumbnails on Masonry #1308663

    Hi,
    Thank you for your patience, and the link to your site, when I compare the actual image & it’s thumbnail I see a slight difference, but I’m not sure what may cause this. It looks like you are using the masonry element, please try creating a test page using the masonry gallery element, it seems to offer multiple image sizes on page load that may help.

    Best regards,
    Mike

    in reply to: WooCommerce Checkout Page Layout #1308662

    Hi,
    Thank you for the feedback, the layout you are seeing is from the woocommerce plugin, these are your columns:
    2021-07-04_0051678f2dd1732081a.jpg
    This is the source code for them:
    2021-07-04_004.jpg
    this is the woocommerce plugin template form-checkout.php:
    \wp-content\plugins\woocommerce\templates\checkout\form-checkout.php
    2021-07-04_006.jpg
    So perhaps your best option would be to edit the plugin template so the content of col-2 is moved to the bottom of col-1 and then move your order review code into the col-2
    Please see Ismael’s links above to see how to do this and add it to your child theme so updates will not overwrite your changes.

    Best regards,
    Mike

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

    Hi,
    Thank you for your patience, and for the login, the date & categories are not showing because the font color is the same as the background color, white.
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top #main .slide-meta,
    #top #main .minor-meta,
    #top #main .minor-meta a {
    	color: #000;
    }

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

    Best regards,
    Mike

    in reply to: Trouble with Latest News Widget Enfold #1308658

    Hey Mickyhood,
    Thank you for your patience, the /framework/php/ files can not be added to a child theme to override, you can copy the function you want to override to your child theme functions.php and make your changes, so for example to remove the image container from the Latest News widget
    2021-07-04_001.jpg
    I copied this function from \wp-content\themes\enfold\framework\php\class-framework-widgets.php

    if (!class_exists('avia_newsbox'))
    {
    	class avia_newsbox extends WP_Widget {
    
    		var $avia_term = '';
    		var $avia_post_type = '';
    		var $avia_new_query = '';
    
    		function __construct()
    		{
    			$widget_ops = array('classname' => 'newsbox', 'description' => __('A Sidebar widget to display latest post entries in your sidebar', 'avia_framework') );
    
    			parent::__construct( 'newsbox', THEMENAME.' Latest News', $widget_ops );
    		}
    
    		function widget($args, $instance)
    		{
    			global $avia_config;
    
    			extract($args, EXTR_SKIP);
    			echo $before_widget;
    
    			$title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']);
    			$count = empty($instance['count']) ? '' : $instance['count'];
    			$cat = empty($instance['cat']) ? '' : $instance['cat'];
    			$excerpt = empty($instance['excerpt']) ? '' : $instance['excerpt'];
    			$image_size = isset($avia_config['widget_image_size']) ? $avia_config['widget_image_size'] : 'widget';
    			
    			/**
    			 * @since 4.5.4
    			 * @return string
    			 */
    			$image_size = apply_filters( 'avf_newsbox_image_size', $image_size, $args, $instance );
    
    			if ( !empty( $title ) ) { echo $before_title . $title . $after_title; };
    
    
    			if(empty($this->avia_term))
    			{
    				$additional_loop = new WP_Query("cat=".$cat."&posts_per_page=".$count);
    			}
    			else
    			{
    				$catarray = explode(',', $cat);
    
    
    				if(empty($catarray[0]))
    				{
    					$new_query = array("posts_per_page"=>$count,"post_type"=>$this->avia_post_type);
    				}
    				else
    				{
    					if($this->avia_new_query)
    					{
    						$new_query = $this->avia_new_query;
    					}
    					else
    					{
    						$new_query = array(	"posts_per_page"=>$count, 'tax_query' => array(
    														array( 'taxonomy' => $this->avia_term,
    															   'field' => 'id',
    															   'terms' => explode(',', $cat),
    															   'operator' => 'IN')
    															  )
    														);
    					}
    				}
    
    				$additional_loop = new WP_Query($new_query);
    			}
    
    			if($additional_loop->have_posts()) :
    
    
    
    			echo '<ul class="news-wrap image_size_'.$image_size.'">';
    			while ($additional_loop->have_posts()) : $additional_loop->the_post();
    
    			$format = "";
    			if(empty($this->avia_post_type)) 	$format = $this->avia_post_type;
    			if(empty($format)) 					$format = get_post_format();
    	     	if(empty($format)) 					$format = 'standard';
    			
    			$the_id = get_the_ID();
    			$link = get_post_meta( $the_id  ,'_portfolio_custom_link', true) != "" ? get_post_meta( $the_id ,'_portfolio_custom_link_url', true) : get_permalink();
    			
    			
    			echo '<li class="news-content post-format-'.$format.'">';
    
    			//check for preview images:
    			$image = "";
    
    			if(!current_theme_supports('force-post-thumbnails-in-widget'))
    			{
    				$slides = avia_post_meta(get_the_ID(), 'slideshow', true);
    
    				if( $slides != "" && !empty( $slides[0]['slideshow_image'] ) )
    				{
    					$image = avia_image_by_id($slides[0]['slideshow_image'], $image_size, 'image');
    				}
    			}
    
    			if(current_theme_supports( 'post-thumbnails' ) && !$image )
    			{
    				$image = get_the_post_thumbnail( $the_id, $image_size );
    			}
    
    			$time_format = apply_filters( 'avia_widget_time', get_option('date_format')." - ".get_option('time_format'), 'avia_newsbox' );
    
    
    			echo "<a class='news-link' title='".get_the_title()."' href='".$link."'>";
    
    			$nothumb = (!$image) ? 'no-news-thumb' : '';
    
    			echo "<span class='news-thumb $nothumb'>";
    			echo $image;
    			echo "</span>";
    			if(empty($avia_config['widget_image_size']) || 'display title and excerpt' != $excerpt)
    			{
    				echo "<strong class='news-headline'>".get_the_title();
    				
    				if($time_format)
    				{
    					echo "<span class='news-time'>".get_the_time($time_format)."</span>";	
    				}
    				
    				echo "</strong>";
    			}
    			echo "</a>";
    
    			if( 'display title and excerpt' == $excerpt )
    			{
    				echo "<div class='news-excerpt'>";
    
    				if(!empty($avia_config['widget_image_size']))
    				{
    					echo "<a class='news-link-inner' title='".get_the_title()."' href='".$link."'>";
    					echo "<strong class='news-headline'>".get_the_title()."</strong>";
    					echo "</a>";
    					if($time_format)
    					{
    						echo "<span class='news-time'>".get_the_time($time_format)."</span>";	
    					}
    
    				}
    				the_excerpt();
    				echo "</div>";
    			}
    
    			echo '</li>';
    
    
    			endwhile;
    			echo "</ul>";
    			wp_reset_postdata();
    			endif;
    
    
    			echo $after_widget;
    
    		}
    
    
    		function update($new_instance, $old_instance)
    		{
    			$instance = $old_instance;
    			$instance['title'] = strip_tags($new_instance['title']);
    			$instance['count'] = strip_tags($new_instance['count']);
    			$instance['excerpt'] = strip_tags($new_instance['excerpt']);
    			$instance['cat'] = implode(',',$new_instance['cat']);
    			return $instance;
    		}
    
    
    
    		function form($instance)
    		{
    			$instance = wp_parse_args( (array) $instance, array( 'title' => '', 'count' => '', 'cat' => '', 'excerpt'=>'' ) );
    			$title = strip_tags($instance['title']);
    			$count = strip_tags($instance['count']);
    			$excerpt = strip_tags($instance['excerpt']);
    
    
    			$elementCat = array("name" 	=> __("Which categories should be used for the portfolio?", 'avia_framework'), 
    								"desc" 	=> __("You can select multiple categories here", 'avia_framework'),
    					            "id" 	=> $this->get_field_name('cat')."[]",
    					            "type" 	=> "select",
    					            "std"   => strip_tags($instance['cat']),
    					            "class" => "",
    	            				"multiple"=>6,
    					            "subtype" => "cat");
    			//check if a different taxonomy than the default is set
    			if(!empty($this->avia_term))
    			{
    				$elementCat['taxonomy'] = $this->avia_term;
    			}
    
    
    
    
    			$html = new avia_htmlhelper();
    
    	?>
    			<p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'avia_framework'); ?>
    			<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" /></label></p>
    
    			<p>
    				<label for="<?php echo $this->get_field_id('count'); ?>"><?php _e('How many entries do you want to display: ', 'avia_framework'); ?></label>
    				<select class="widefat" id="<?php echo $this->get_field_id('count'); ?>" name="<?php echo $this->get_field_name('count'); ?>">
    					<?php
    					$list = "";
    					for ($i = 1; $i <= 20; $i++ )
    					{
    						$selected = "";
    						if($count == $i) $selected = 'selected="selected"';
    
    						$list .= "<option $selected value='$i'>$i</option>";
    					}
    					$list .= "</select>";
    					echo $list;
    					?>
    
    
    			</p>
    
    			<p><label for="<?php echo $this->get_field_id('cat'); ?>"><?php _e('Choose the categories you want to display (multiple selection possible):', 'avia_framework'); ?>
    			<?php echo $html->select($elementCat); ?>
    			</label></p>
    
    			<p>
    				<label for="<?php echo $this->get_field_id('excerpt'); ?>"><?php _e('Display title only or title & excerpt', 'avia_framework'); ?></label>
    				<select class="widefat" id="<?php echo $this->get_field_id('excerpt'); ?>" name="<?php echo $this->get_field_name('excerpt'); ?>">
    					<?php
    					$list = "";
    					$answers = array(
    								'show title only'			=>	__( 'show title only', 'avia_framework' ),
    								'display title and excerpt'	=>	__('display title and excerpt', 'avia_framework')
    								);
    					
    					foreach ( $answers as $key => $answer )
    					{
    						$selected = "";
    						if( $key == $excerpt ) $selected = 'selected="selected"';
    
    						$list .= "<option $selected value='$key'>$answer</option>";
    					}
    					$list .= "</select>";
    					echo $list;
    					?>
    
    
    			</p>
    
    
    	<?php
    		}
    	}
    }
    

    and commented out lines 989-991
    2021-07-04_002.jpg
    for this result:
    2021-07-04_003.jpg
    Please give this a try.

    Best regards,
    Mike

    in reply to: Timeline Loading #1308653

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

    .avia_transform.avia_desktop #top.home .av-milestone.av-animated-generic {
        opacity: 1 !important;
    }
    .avia_transform #top.home .av-milestone.avia_start_delayed_animation.fade-in {
        -webkit-animation: avia-fadein 0 !important;
        animation: avia-fadein 0 !important;
        opacity: 1
    }

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

    Best regards,
    Mike

    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

    Hi,
    I don’t believe that this is a result of anything we have done in this thread, do you?
    I tried taking a look at your mobile header, but I’m not sure what you are trying to achieve, typically on mobile the header is not sticky, are you trying to have it sticky but not shown until after scroll?
    Your child theme stylesheet is quite confusing with a lot of empty rules and a lot of commented out rules, please 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, try to not add anything that you know you don’t need, keeping it all clean.
    This should help you find when the error occurred.

    Best regards,
    Mike

    in reply to: Insert Mapbox in a Contact page… #1308611

    Hi,
    Thank you for your patience, and the link to your MapBox install instructions, first I would recommend using the Enfold Child Theme so you don’t lose the changes when you update the theme.
    Then add this code to the end of your functions.php file in Appearance > Editor:

    function install_mapbox(){
        ?>
    <script src='https://api.mapbox.com/mapbox-gl-js/v2.3.1/mapbox-gl.js'></script>
    <link href='https://api.mapbox.com/mapbox-gl-js/v2.3.1/mapbox-gl.css' rel='stylesheet' />
        <?php
        }
    add_action('wp_head', 'install_mapbox');

    then add this to a code block on your page:

    <div id='map' style='width: 400px; height: 300px;'></div>
    <script>
    mapboxgl.accessToken = 'YOUR_MAPBOX_ACCESS_TOKEN';
    var map = new mapboxgl.Map({
    container: 'map',
    style: 'mapbox://styles/mapbox/streets-v11'
    });
    </script>

    you will need to add your access token to replace this part of the code: YOUR_MAPBOX_ACCESS_TOKEN
    Then the default map will show:
    2021-07-03_011.jpg
    Then you should go to this page to learn how to customize your MapBox map.
    2021-07-03_012.jpg
    If you can’t create a free “Google Maps API” then you can’t use the Google Maps element, unfortunately we currently don’t have a MapBox element.

    Best regards,
    Mike

    in reply to: Unable to log in to the admin panel #1308610

    Hi,
    Thank you for your patience, I see that you are using Enfold vVersion: 4.6.3.1
    Please update the theme via FTP to v4.8.3
    The easiest and safest way to do this is to download the newest version from your Theme Forest account and rename your current theme folder to “enfold-old” via ftp then upload the new “enfold” folder and check that your site is working correctly.
    Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” folder to “enfold-new” via ftp and then rename “enfold-old” to “enfold” then refresh your page.
    Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page)
    Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.

    Best regards,
    Mike

    in reply to: Main content is slightly moved to the left #1308609

    Hey profumopuntoit,
    Thank you for your patience and the link to your page and the screenshot. Your screenshot seems to show the gray scrollbar of the browser, I have checked your site in Windows 10 with Chrome, Firefox, & Edge, and in all browsers the gray scrollbar shows.
    Please see the screenshot in the Private Content area.

    Best regards,
    Mike

    Hey mofix,
    Thank you for your patience and the login, I get the impression that your product image was added before the plugin created the watermarks, please try replacing the product image now with the full version of the watermarked image by clicking on the “view watermark images” and copying the url, then add this url to your “Product image > upload files” this should work.

    I have no experience with this plugin but perhaps there is some documentation explaining how to use it somewhere, but I see none linked anywhere within the plugin, I’m also not sure that this is really an official woocommerce plugin as the plugin page says: “By AA-Team” and links to this website Hopefully you can find some documentation on how to use it effectively, or you can try my workaround.

    Best regards,
    Mike

    Hi,
    Thank you for your patience and the link to your page, I believe you mean the section at the bottom of the page diese Ausflüge könnten Dich auch interessieren:
    this is a posts slider and not a related posts element, to have it not show the current post try setting the offset to Do not allow duplicate posts on the entire page (set offset automatically)
    2021-07-03_008.jpg
    To change the h3 of the titles, it would be best to first add a custom class to the element so the script doesn’t effect other elements, perhaps related-posts-slider
    2021-07-03_009.jpg
    Then try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script() { ?>
        <script>
    (function($) {
      $(document).ready(function(){
        function replaceElementTag(targetSelector, newTagString) {
          $(targetSelector).each(function(){
            var newElem = $(newTagString, {html: $(this).html()});
            $.each(this.attributes, function() {
              newElem.attr(this.name, this.value);
            });
            $(this).replaceWith(newElem);
          });
        }
        replaceElementTag('.related-posts-slider h3.slide-entry-title', '<p></p>');
      });
    }(jQuery));
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_script');

    it will replace the h3 with p

    Best regards,
    Mike

    Hey schizm00,
    Thank you for your patience, for the first example I used a code block element:
    2021-07-03_004.jpg
    the css is

    .bio-title::before {
        content: "";
        width: 200px;
        height: 1px;
        background-color: #aaa;
        margin-right: 20px;
        box-sizing: border-box;
    }
    .bio-title::after {
        content: "";
        width: 200px;
        height: 1px;
        background-color: #aaa;
        margin-left: 20px;
        box-sizing: border-box;
    }
    .bio-title {
        font-size: 64px;
        text-align: center;
        color: #000;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    and the html structure is:
    <h1 class="bio-title"><span>Bio</span></h1>
    you could use a text element if you wish.
    The result is:
    2021-07-03_005.jpg
    For the second example I again used a code block element, inside a grid row element:
    2021-07-03_006.jpg
    this is the code inside the code block:

    <table>
    <tbody><tr>
    <td>Height</td>
    <td>5’11</td>
    </tr>
    <tr>
    <td>Nationality</td>
    <td>American</td>
    </tr>
    <tr>
    <td>Age</td>
    <td>25</td>
    </tr>
    <tr>
    <td>Bust</td>
    <td>Natural</td>
    </tr>
    <tr>
    <td>Shoe</td>
    <td>10</td>
    </tr>
    <tr>
    <td>Eyes</td>
    <td>Blue</td>
    </tr>
    <tr>
    <td>Hosting</td>
    <td>Incall/Outcall</td>
    </tr>
    </tbody></table>

    this is the result:
    2021-07-03_007.jpg
    Please give this a try 🙂

    Best regards,
    Mike

    in reply to: Long loading time when using the portfolio grid #1308593

    Hi,
    Thank you for your patience, I believe you are referring to your site linked in your other thread I have looked at it from a speed standpoint and it loads in 5.41s, but the first 3.38s was your Time To First Byte which is due to your server and should be around 200ms.
    So your page is actually loading fairly quickly, around 2s after the 3s TTFB wait.
    To achieve a faster load you will need to address your TTFB with your webhost, it has nothing to do with WordPress or the theme.
    Since this is not your thread posting your login here will not be private and you will not see anything we write in the Private Content area, so if you have any further questions about this please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Can't style banner above header #1308590

    Hey webWahine,
    Sorry for the late reply and thanks for your patience and explanation of what you are trying to do.
    So your Header widget function is looking for the sidebar header but you do not have one:
    2021-07-03_003.jpg
    Perhaps you need to change the function to one of the other ones, or create it?

    Best regards,
    Mike

    Hi,
    Thank you for your patience and for the login, I tested your page with the Rich Results tool and found that Google is seeing:
    lowPrice: 15.0504
    highPrice: 50.1681
    2021-07-03_002.jpg
    yet they are publishing:
    €150,504.00 to €501,681.00
    The numbers match if you think like a robot 🙂
    Try changing your pricing so there are only 4 places like this:
    lowPrice: 15.05
    highPrice: 50.16

    Best regards,
    Mike

Viewing 30 posts - 14,881 through 14,910 (of 35,289 total)