Twentig
Forum Replies Created
-
Hi Marco,
To display a title on your Blog listing page, copy the index.php file from the Twenty Twenty theme and paste it inside your child theme (if you don’t already have done it).
Line 55, add the following code and change “Your title” as you want:
elseif ( is_home() ) { $archive_title = "Your title"; }After inserting the code you should have these lines (line 52 to 59):
} elseif ( ! is_home() ) { $archive_title = get_the_archive_title(); $archive_subtitle = get_the_archive_description(); } elseif ( is_home() ) { $archive_title = "Your title"; } if ( $archive_title || $archive_subtitle ) {You might need to add CSS to fit the title with your site’s design.
Hope that helps,
TomHi Mike,
Have you managed to fix the CSS issue?
Have a nice day,
TomHi,
Thanks for the feedback. Twentig doesn’t include an option to change the font-weight for the body. Our current roadmap doesn’t include this feature, but we’ll see if we can consider it for a future release.
Have a nice day,
TomI see on your site that the code works fine. Therefore I’m closing this ticket.
Have a nice day.
Hi,
Thanks for the feedback. There’s indeed an issue with the White Frame style when the image is set to center. We’ll fix it in the next release. In the meantime, you can add the following CSS code in the Customizer > Additional CSS panel to fix the issue:
.is-style-tw-frame .aligncenter > figcaption { display: block; }Thanks again.
If you enjoy Twentig, please rate it. It would really help me out 🙂
TomHi,
If you don’t want to use the transparent header on the homepage, you need to change the page template from “Twentig – Header transparent” to “Twentig – No title”. To change the template of a page:
- Open the page you want to edit.
- In the Settings sidebar, open the Page tab.
- In the Template panel, select the “Twentig – No title” template.
- Update the page to apply the change.
Hope that helps,
TomHi,
I’ve looked at your website, but I don’t see the issue. Have you managed to fix it or do you still have the issue?
Tom
Hi,
This is the default link behavior of the Twenty Twenty-One theme. Unlike the other pages, the site title isn’t a link on the homepage, this is why it’s not underlined. Twentig adds an option to change the global link style. To do it, open the Customizer > Twentig Options > Additional Styling panel and set the Links Style option to Minimal.
Hope that helps,
TomHi Peta,
You need to use the “Twentig – No title” template to remove the page title on your pages. You’re currently using the default page template. To change the template of a page:
- Open the page you want to edit.
- In the Settings sidebar, open the Page tab.
- In the Template panel, select the “Twentig – No title” template.
- Update the page to apply the change.
Next, you need to remove the
tw-mt-0margin class that is applied on each cover block. Leave the margin-top value to default.Finally, you need to add the following CSS in the Customizer > Additional CSS panel (because the jQuery Pin It Button plugin that you’ve installed creates a conflict):
.tw-no-title.tw-header-bg .entry-content > .jpibfi:first-child + .alignfull { margin-top: calc(var(--global--spacing-vertical)*-3); }Hope that helps.
If you enjoy Twentig, please rate it. It would really help me out 🙂
TomIf you’re comfortable editing the plugin file, you can try the code below to see if it fixes the issue. Open the
twentig/inc/theme-tools/starters.phpfile. Line 63 replace:$request = wp_remote_get( $content_url );
by$request = wp_remote_get( $content_url, array( 'sslverify' => FALSE ) );If it works, once you’ve loaded the starter site, reset the code.
Could you please try to activate an SSL certificate on your site to see if it fixes the issue?
Unfortunately, it’s not possible to see what the issue is without seeing the live site. If you can’t share a link and have installed other plugins, you can try to deactivate all your plugins except Twentig. If this resolves the issue, activate one plugin at a time until you locate the conflict.
Hi Jay,
Thanks for your feedback. We’ve tried with multiple hosts and local installs without having this issue. However, we encountered this issue on one local install. So, we are investigating this issue, and we’ll keep you updated.
Thanks,
TomHi,
Thanks for the kind words.
The image dimensions are used only to determine the width and height of the cropped image that will be served on the front-end. To make them larger, you need to use the alignment setting (wide or full-width). It’s not proper to the default theme, all themes that support the block editor act that way. However, I think it’s possible to stretch all your images by adding some custom CSS. Would you please tell me which theme you’re using (Twenty Twenty-One or Twenty Twenty) and if possible, share the URL of your site?
Thanks,
TomHi,
Unfortunately, the Twenty Twenty-One theme won’t include a theme.json in its future release, so it’s unlikely that we’ll make Twentig support it.
Carolina Nymark, who is the lead-dev for the Twenty Twenty-One theme, wrote:
“Twenty Twenty-One is not adapted to work with a theme.json file. Adapting it may break backwards compatibility for users who are not upgrading to 5.8, and child themes. It would also take a significant effort to make such a large update of the existing CSS, that it might never be adapted.”
https://wordpress.org/support/topic/does-theme-json-only-work-with-block-based-theme/#post-14687374Best,
Tom