Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
Topfgartenwelt
tagDiv Member

Ok. But is there also a way to do it in the style.css for the mobile theme? If yes, where I can find it in the style.css?

Greetings Kathrin

Topfgartenwelt
tagDiv Member

The sticky menu is disabled for both (mobile and desktop)… There must be something else in the header to produce the high cumulative layout shift…

What else can cause collabsing of the header?

Greetings Kathrin

Topfgartenwelt
tagDiv Member

At the moment I can’t say if the cumulative layout shift is getting better. Indeed it become slightely better in the mobile version but since two days there is no change anymore. It stays in the orange area. Can there be something else?

In desktop version there is also a cumulative layout shift when scrolling up and down? Is it the same problem (sticky header) as in the mobile version? How can I solve it?

Greetings Kathrin

Topfgartenwelt
tagDiv Member

Ok, but most of the time they are not shown…

Topfgartenwelt
tagDiv Member

Ok. I have a post loop element integrated, but however I can’t get it done that as sitelinks Garten, Rezepte and so on are shown.

Greetings Kathrin

Topfgartenwelt
tagDiv Member

Thanks for the information. I have tried it and will tell you if it works and the CLS gets better in the next days.

Greetings Kathrin

Topfgartenwelt
tagDiv Member

@gmcarlson I have removed the all images in the first viewpoint.

Topfgartenwelt
tagDiv Member

So, after asking, aksing, asking and trying: the problem is the mobile header it collapses when scrolling down and the cumulative layout shift increases. Is there a way to move the mobile menu to the bottom until you have fixed the problem?

Greetings Kathrin

Topfgartenwelt
tagDiv Member

Ok, that’s great! Do you already know when it will be fixed?

Greetings Kathrin

Topfgartenwelt
tagDiv Member

Ok. That’s great. Do you already know, when it will be fixed?

Greetings Kathrin

Topfgartenwelt
tagDiv Member

Thank you very much!!!

Greetings Kathrin

Topfgartenwelt
tagDiv Member

Thanks, but I know the path to find the style.css for mobile. But I don’t know exactly which parameter i should change to really get a bigger Post-Title on mobile. I have already tried H1 and page-title but there was no change in the size.

Greetings Kathrin

Topfgartenwelt
tagDiv Member

Thank you very much.

Topfgartenwelt
tagDiv Member

I have the same problem with the cls. But the LCP you can easy fix by making some changes in the layout, so that there aren’t any images in the first viewpoint…

Greetings

Topfgartenwelt
tagDiv Member

Thank you very much! But isn’t that very problematic to have all the content with pictures in the head of the page? For page speed?

Greetings Kathrin

Topfgartenwelt
tagDiv Member

Ok and how can I comment them out? Or what can I do to prevent them from causing layout shifts?

Greetings Kathrin

Topfgartenwelt
tagDiv Member

Thank you very much, it works! But is there also a way to increase the spacing between the post title and the categories that are shown below the breadcrumbs?

But there is another problem, when I use the css code there – I increase the cumulative layout shift. Is there no way to insert the code in a php-file for the mobile version like style.css?

Thank you very much!
Greetings Kathrin

Topfgartenwelt
tagDiv Member

font awesome causes –> “flash of unstyled content” (FOUC)

Topfgartenwelt
tagDiv Member

I have already tried this and tried it now again but I the critical error persists and the mobile pages can’t be loaded anymore. When I move the metainfo back into the header it works again.

I just want to move the metainfo for views and author and the comments before the featured image, because they cause in the viewpoint a large cumulative layout shift because of the used font-awesome…

<article id=”post-<?php echo $td_mod_single->post->ID;?>” class=”<?php echo join(‘ ‘, get_post_class());?>” <?php echo $td_mod_single->get_item_scope();?>>
<div class=”td-post-header”>

<?php echo $td_mod_single->get_category(); ?>

<header class=”td-post-title”>
<?php echo $td_mod_single->get_title();?>

<?php if (!empty($td_mod_single->td_post_theme_settings[‘td_subtitle’])) { ?>
<p class=”td-post-sub-title”><?php echo $td_mod_single->td_post_theme_settings[‘td_subtitle’];?></p>
<?php } ?>

//metainfo moved to another position
</header>

</div>

<div class=”td-post-content”>
<?php echo $td_mod_single->get_content();?>
<?php

// meta info after post content
<div class=”td-module-meta-info”>
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false,false);?>
<?php echo $td_mod_single->get_comments();?>
<?php
if ( ! td_util::is_amp() )
echo $td_mod_single->get_views();
?>
</div>
// override the default featured image by the templates (single.php and home.php/index.php – blog loop)
if (!empty(td_global::$load_featured_img_from_template)) {
echo $td_mod_single->get_image(td_global::$load_featured_img_from_template);
} else {
if (TD_THEME_NAME === ‘Newsmag’) {
echo $td_mod_single->get_image(‘td_640x0’);
} else {
echo $td_mod_single->get_image(‘td_696x0’);
}
}
?>

<?php echo $td_mod_single->get_social_sharing_top();?>

</div>

If I delete this part of the code: <div class=”td-module-meta-info”>
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false,false);?>
<?php echo $td_mod_single->get_comments();?>
<?php
if ( ! td_util::is_amp() )
echo $td_mod_single->get_views();
?>
</div>

it seems that the lazy loading in the mobile version doesn’t work anymore…

And after trying to move them on the new position the text under the images in the mobile theme isn’t centered anymore…

If I move the meta-info after the featured image it works: but the text isn’t shown inline..

<article id=”post-<?php echo $td_mod_single->post->ID;?>” class=”<?php echo join(‘ ‘, get_post_class());?>” <?php echo $td_mod_single->get_item_scope();?>>
<div class=”td-post-header”>

<?php echo $td_mod_single->get_category(); ?>

<header class=”td-post-title”>
<?php echo $td_mod_single->get_title();?>

<?php if (!empty($td_mod_single->td_post_theme_settings[‘td_subtitle’])) { ?>
<p class=”td-post-sub-title”><?php echo $td_mod_single->td_post_theme_settings[‘td_subtitle’];?></p>
<?php } ?>

</header>

</div>

<div class=”td-post-content”>
<?php echo $td_mod_single->get_content();?>
<?php

// override the default featured image by the templates (single.php and home.php/index.php – blog loop)
if (!empty(td_global::$load_featured_img_from_template)) {
echo $td_mod_single->get_image(td_global::$load_featured_img_from_template);
} else {
if (TD_THEME_NAME === ‘Newsmag’) {
echo $td_mod_single->get_image(‘td_640x0’);
} else {
echo $td_mod_single->get_image(‘td_696x0’);
}
}
?>

<?php echo $td_mod_single->get_social_sharing_top();?>

</div>

<div class=”td-module-meta-info”>
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false,false);?>
<?php echo $td_mod_single->get_comments();?>
<?php
if ( ! td_util::is_amp() )
echo $td_mod_single->get_views();
?>
</div>

<footer>

Greetings Kathrin

Topfgartenwelt
tagDiv Member

Yes, I know, but that doesn’t work for the MOBILE THEME. How can I do this in the mobile theme. There is also a style.css – where I can increase the spacing there for the H1 and the breadcrumps?

Greetings Kathrin

Topfgartenwelt
tagDiv Member

When I use font-display: swap; for the Desktop-version, my mobile theme doesn’t work correctly anymore. What is the reason therefore?

Greetings Kathrin

Topfgartenwelt
tagDiv Member

This link contains no information 🙁

Greetings Kathrin

Topfgartenwelt
tagDiv Member

Can I use the same code for this font and where I can find it in the Desktop-Version:

wp-content/plugins/td-composer/assets/fonts/font-awesome/fontawesome-webfont/woff2?v=4.7.0

Greetings Kathrin

Topfgartenwelt
tagDiv Member
Topfgartenwelt
tagDiv Member

Thank you!

Viewing 25 posts - 151 through 175 (of 244 total)