Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1109525

    Hi,

    In this website, it seems that the responsive.css does not get loaded. For example, see the link in the private content. For now, we have inserted a custom css to make the website responsive. The code we use for this is:

    @media only screen and (max-width: 767px) {
    .flex_column { width: 100% !important; margin-left: 0; }}

    This code should not be necessary. But when we leave this, the content containers/columns, don’t act responsive.

    #1109689

    Hey bonsaimedia,

    The css that loads the layouts responsive version is grid.css but I’m not sure why it’s not working properly.
    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1109824
    This reply has been marked as private.
    #1109883

    Hi bonsaimedia,

    I see the issue now, the responsive css isn’t being read although fetched because those flex columns are outside the #wrap_all div.
    Can we ask for a copy of your child theme? so we can try to test it on our end and check further on the issue you’re having.

    Best regards,
    Nikko

    #1110331
    This reply has been marked as private.
    #1110933

    Hi bonsaimedia,

    Thanks for providing it, in your functions.php file please remove this code:

    add_filter('avf_builder_boxes', 'add_builder_to_posttype');
    
    function add_builder_to_posttype($metabox)
    {
    	foreach($metabox as &$meta)
    	{
    		if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout')
    		{
    			$meta['page'][] = 'activity'; /*instead add the name of the custom post type here*/
    		}
    	}
    	
    
    	return $metabox;
    }

    and replace it with:

    function avf_alb_supported_post_types_mod( array $supported_post_types )
    {
    	$supported_post_types[] = 'activity';
    	return $supported_post_types;
    }
    add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);

    Best regards,
    Nikko

    #1111619

    Hi Nikko,

    Yes. Thanks! That works.
    Thanks for your help.

    #1111770

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Responsive.css does not load’ is closed to new replies.