ScriptsTown
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [PressBook Green] Sidebar shoelws underneath onlyFor double sidebars, you can use the following CSS code below.
In this code 1100px is the screen-width, you can values like 1000px or 1200px (increase or decrease it).
@media screen and (min-width: 1100px) { body.double-sidebar .pb-content-sidebar { flex-wrap: nowrap; } body.double-sidebar .pb-content-sidebar::after { content: none; } body.double-sidebar .c-sidebar-left { order: -1; margin-left: 0; margin-right: 25px; } body.double-sidebar .c-sidebar-right { order: 1; margin-left: 25px; margin-right: 0; } body.double-sidebar .c-sidebar { min-width: 260px; } body.double-sidebar .site-main { padding-left: 29px; padding-right: 29px; } body.double-sidebar .entry-content .alignfull, body.double-sidebar .entry-content .alignwide { margin-left: -30px; width: calc(100% + 60px); max-width: calc(100% + 60px); } }For just one sidebar to appear, it will require significant CSS to do that.
Forum: Themes and Templates
In reply to: [PressBook Green] Site tag line colourHi @fixing2022,
You can change site tagline color from “Appearance” > “Customize” > “Colors” > “Tagline Color”.
Or, you can use CSS to change it:
.site-tagline { color: #000000; }Also, you can change its font size from “Appearance” > “Customize” > “Site Identity”.
Forum: Themes and Templates
In reply to: [PressBook Green] Sidebar shoelws underneath onlyHi,
For double sidebars layout, the breakpoint is less than 1280px screen width when it gets to the bottom of the main content and for single sidebar, it is less than 1024px screen width.
You would need CSS to change it but then it would shrink the main content too much for small screens.
For you second question, if you mean for header block, then you can use max-width on the columns so it won’t expand too much (Appearance > Customize > Additional CSS):
.header-block-1 .pb-pattern-cols {
max-width: 1100px;
margin: 0 auto;
}Forum: Reviews
In reply to: [Login Security Captcha] Please confirm you are not a robotHi,
Make sure you set the correct domain for creating the site key and secret key in Cloudflare Turnstile dashboard. You can check this guide on how to create them. For Widget Type, you can start by setting it to “Managed”.
After getting the keys, set them in the plugin settings: “Captcha Settings” > “Cloudflare Turnstile”. Also, you can check the “Error Logs”.
Thanks!
Forum: Plugins
In reply to: [Login Security Captcha] Compatibility with 2FAYou already translated some strings years ago. Few new strings were added in updates. You can check here:
https://translate.wordpress.org/projects/wp-plugins/login-security-recaptcha/
Thanks!
Forum: Plugins
In reply to: [Login Security Captcha] Compatibility with 2FAWe have solved this issue by adding a new option in version 1.5.5.
You can update the plugin to version 1.5.5. After, go to “Captcha Settings” > “Google reCAPTCHA Version 3” and uncheck “Generate Token on Form Submission”, then save the settings.
This will generate reCAPTCHA token on page load and would solve the issue.
Forum: Plugins
In reply to: [Login Security Captcha] Compatibility with 2FAHi @guillermo77,
For reCAPTCHA v3, we only generate a token when a user submits the form (action) because as per their developer guide:
“reCAPTCHA tokens expire after two minutes. If you’re protecting an action with reCAPTCHA, make sure to call execute when the user takes the action rather than on page load.”
We can also generate it on page reload that would make it compatible with 2FA for reCAPTCHA v3 but that option is currently not available. We may add this option in future updates.
In the meantime, you can use “Cloudflare Turnstile” which would work perfectly with the 2FA plugin.
Thanks!
Forum: Plugins
In reply to: [Login Security Captcha] What is the more strong score in reCAPTCHA v3Hello @guillermo77,
0.7 is better interaction score.
“Captcha Settings” is simply used for specifying Site Key and Secret Key for reCAPTCHA v2, v3, and Cloudflare Turnstile. Once you set the keys, then you can use any of the captcha in forms under “Enable Captcha”.
Those radio buttons in “Captcha Settings” are like tabs. The keys are saved separately for each captcha type.
Forum: Plugins
In reply to: [Contact Form Query] Issue with Contact form 7 form tagsHi @divya96,
This is support forum for “Contact Form Query” plugin.
The support forum for “Contact Form 7” plugin is https://wordpress.org/support/plugin/contact-form-7/
Thanks!
Forum: Reviews
In reply to: [PressBook News Dark] homepage bugHi @aleandroct,
You can edit the page and set its “Template” to “Page with sidebar”.
This option is available in the page editor screen (on the right side).
Forum: Themes and Templates
In reply to: [PressBook News] How to Edit Category PageIt’s in the parent theme “wp-content/themes/pressbook/index.php”.
You can copy all content inside of “index.php”, create a new file “category.php” and paste it into this new file.
Category page fallbacks to “index.php” if the “category.php” file doesn’t exist.
- This reply was modified 2 years, 11 months ago by ScriptsTown.
Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Sidebar issue by activity streamThe FitVids plugin I mentioned above, it comes with a custom selector settings in “Appearance” > “FitVids” – “FitVids Custom Selector”. In this field, you can input:
iframe[src*='youtube']So, this should affect only the Youtube videos.
Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Sidebar issue by activity streamYour other site’s theme is using a library named “Fitvids” to handle this.
You can try this plugin. This would serve the same purpose.
We do not include Fitvids library in the theme as WordPress block editor also handles this video resizing for smaller devices.
Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Sidebar issue by activity streamAre you using classic editor?
This issue is related to the iframe that you input directly. The theme or plugin can’t solve this really. I recommend you to use a “Youtube” block in the block editor and input the video URL.
In the block editor, there is a “Youtube” block that can embed a Youtube video that would support resizing for smaller devices.
You can read this similar thread.