ScriptsTown
Forum Replies Created
-
Hi @medfan2003,
It looks like you are using a plugin to output the breadcrumbs. Our theme does not output breadcrumbs on its own.
We offer a header block where you can insert any block or shortcode to generate the breadcrumbs. So, you should reach out to the support of the plugin that you are using.
Thanks!
Forum: Plugins
In reply to: [Social Icons Sticky] conflict with gtranslate.ioHi,
We have improved the code and released a new update. The new version of Social Icons Sticky 1.4.3 should fix this issue.
Thanks!
Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Custimizing not workingTo changes max lines based on screen width, you can make use of media queries for just line-clamp property like this:
The below code means:
– use 1 for small screens
– use 2 when screen width is 768px or more
– use 3 when screen width is 1200px or more..pb-grid-post.pb-article .entry-header .entry-title { -webkit-line-clamp: 1; } @media screen and (min-width: 768px) { .pb-grid-post.pb-article .entry-header .entry-title { -webkit-line-clamp: 2; } } @media screen and (min-width: 1200px) { .pb-grid-post.pb-article .entry-header .entry-title { -webkit-line-clamp: 3; } }Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Custimizing not workingIn your CSS code, a semicolon is missing after vertical.
So, the correct code would be:
.pb-grid-post.pb-article .entry-header .entry-title { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Custimizing not workingHi,
I have tested the theme with PHP 8.1 without any plugins. And, it does not create an endless loop. The changes work with a publish.
1. You can try deactivating plugins one by one and see if you can make changes in the customizer without creating an endless loop to identify which plugin causes it.
2. I heard of this issue before. Earlier it was due to a menu. You can uncheck showing menus on any locations like “Primary”, “Top Menu”, and “Social Links Menu”. Then, try to access the customizer and do any changes to see if it was due to the menu. The fix was to remove menu items with “Custom Links” and recreate them from “Appearance” > “Menus”, recheck menus again for the menu locations, and then test the customizer.
So, try method 1 before you try method 2. It’s highly possible it’s due to some plugins since we have tested our theme without any plugins on PHP 8.1. You may also test if you can on a different WordPress site without plugins on PHP 8.1.
Thanks!
Forum: Plugins
In reply to: [Dark Mode Toggle] Change button color in dark modeHi @adamstar0rx,
1. To skip the button color changing when dark mode is toggled, you will have to apply the class dmt-filter-1 to that button.
If the button is a block, then you can use the “Additional CSS class(es)” field in the “Block” tab.
Or, if the button is coming from page builder plugins like Elementor, then you can also apply this class dmt-filter-1 in a similar way by editing that button with Elementor.
2. If you want to change that button color to something else like red while in dark mode, then use this CSS code:
.darkmode--activated .your-button-class { color: #00fcff; }Here, .your-button-class is some existing class selector of the button, and to make it red, use an inverted hex color code of red (like #00fcff).
Thanks!
Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Excepts on frontpageNo, it’s not coming from theme. This type of features belongs to plugins.
Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Excepts on frontpageI have already told you its really not due to the theme. We not apply any aggressive CSS in the theme to change images inside the content. You can also try any different theme just to see its not due a theme. The content inside the page template must be coming from a different plugin.
Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Excepts on frontpageThe page URL you mention and its content layout and styles CSS is coming from a plugin “Youzify”. That content in the middle of this page is not a part of the theme. So, the HTML markup for images and its CSS is coming from plugin on this page.
You can still try this CSS (it is current has a height of 100%, so set it to auto):
.youzify .activity-content img { height: auto; }I think you should contact the plugin author for this one.
Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Excepts on frontpageThis will hide featured image on single post:
.pb-singular>.post-thumbnail { display: none; }Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Excepts on frontpageHello,
You can use a plugin like this to hide it:
https://ww.wp.xz.cn/plugins/conditionally-display-featured-image-on-singular-pages/I’m not sure what device/browser it is that shows stretched image. I have tested it on different mobile devices. It doesn’t stretch. Your mobile browser may be very outdated.
Next time, for different support queries, I recommend you to open a different support thread.
Thanks!
Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Excepts on frontpageTo hide read more, use this CSS:
.more-link-wrap { display: none; }There is already an option to hide the categories in blog options.
Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Excepts on frontpageIn your CSS, you didn’t close these two blocks of CSS statements with
}.Can you check the code above and copy it carefully with both { and } (You just have opening curly brackets for both CSS code).
Forum: Themes and Templates
In reply to: [PressBook Grid Blogs] Excepts on frontpageHi,
In the theme screenshot, there is only the title of the post.
You can use this option to hide the excerpt for all posts and only show the title:
“Appearance” > “Customize” > Blog Options” > “Hide summary for all posts in a grid.”Also, apply this CSS (“Customize” > “Additional CSS”) to limit the title to 2 lines:
.pb-grid-post.pb-article .entry-header .entry-title { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }Similarly, if you show post expert as well, then limit it with this CSS:
.pb-grid-post .entry-summary > p:not(.more-link-wrap) { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }You can also make use of the “More” block in the post editor for each post to limit the excerpt. But, this will need to be done for each post.
Forum: Reviews
In reply to: [Dark Mode Toggle] Isn’t flexible at allHi,
Thanks for trying out our plugin.
Our plugin is compatible with the most of the themes and works out of the box by default.
It does skip images by default. Maybe, you have some background images with some special HTML markup. You can avoid dark mode on any HTML element using CSS like this:
.darkmode–activated .css-selector { filter: invert(1); }
You can even change colors of the elements but this will also require some CSS knowledge. For example, to change the color to red, use the inverted hex code (#00ffff) of red color (#ff0000) like this:
.darkmode–activated .css-selector { color: #00ffff; }
Thanks!