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 :)
DaveS
tagDiv Member

I found that cron job too using WP Control. I’m able to remove the cron job from there, but I need some information what will happen if I remove it.

I’m not using Instagram on my website and for the images for social media I have RankMath taking care of.

DaveS
tagDiv Member

I understand. Until I find a custom solution, what CSS can I use to hide the loop?

DaveS
tagDiv Member

That works! If I wish to use it on 2 different top-level categories, how should I edit it? Is it like this:

.term-190 .td-container .td-pb-span8 {
width: 100%;
}
.term-190 .td-container .td-pb-span4 {
display: none;
}
.term-200 .td-container .td-pb-span8 {
width: 100%;
}
.term-200 .td-container .td-pb-span4 {
display: none;
}

I can see this code works, but is this the right way?

One last thing – is it possible to remove the product loop from these same pages?
If possible, not to hide the products, but remove them so that the top-level category doesn’t link to the separate products and their thumbnails don’t load on page load. This is needed for SEO purposes.

Thanks!

p.s. Please remove your screenshot. Thanks.

DaveS
tagDiv Member

I added the code you provided in the respective field, but nothing changes.

Here’s a top-level archive page where I’d like to remove the sidebar and stretch the other content to fill the empty space. The content has been created using a table in the admin. I can make 3 instead of 2 cells with thumbnails per row and it will fit perfectly on the place of the sidebar: bit.ly/3d0d8T2

At the same time, here’s a child of that top-level category that needs to keep it’s sidebar: bit.ly/2MIBdDb

Thank you for your help!

DaveS
tagDiv Member

Hi Vlad!
In your code where are you defining the specific archives?

DaveS
tagDiv Member

I’m using Newspaper 9.5 and I can’t find the setting you are suggesting.

I would like to switch to Roboto for all elements on all pages of the site, but when I turn on Google fonts and go through all font settings in theme panel in order to change to Roboto, the speed of the site slows down considerably.

I tried different options to achieve what I need, but without success.

For example, I added the following to the head section:
<link rel=”preconnect” href=”https://fonts.gstatic.com”&gt;
<link href=”https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap&#8221; rel=”stylesheet”>

then added the following to the custom css field in the theme panel:
p {
font-family: ‘Roboto’, sans-serif;
} – unsuccessful, there is always a mix of styles on the pages.

I don’t want to use extra plugin for this.
How can I edit the Default font of the site using theme files? Probably there’s something I could edit in the theme files?

Thanks!

DaveS
tagDiv Member

I do have a child theme. It is manetioned in my only sentence and is part of the query…

With the time passing by there’s some css code in my child theme style.css as well as in the theme custom css code filed. I wanted to know which is better – to move all css code in the theme field or in the style.css.

DaveS
tagDiv Member

However after some testing I’m seeing the following – when some custom css is added in the theme custom css field, the original css blinks on page load and then the custom css takes place.
If the custom css is added to the style.css file in the child theme folder, then this effect is not present.

DaveS
tagDiv Member

Thanks for advising on this!

DaveS
tagDiv Member

Hi there,
is the situation with changing the default font still the same? Not possible to change from one place?

DaveS
tagDiv Member

Also tried to add the code to the loop-single-5.php like this: https://www.dropbox.com/s/nfexwps0y050xjw/demo123.jpg?dl=0 – without result

DaveS
tagDiv Member

I copied the single.php in the main folder of the child theme and tried to add the code everywhere like this: https://www.dropbox.com/s/fb62tu4vyxdladk/single-php.jpg?dl=0

Also added the second part to the code as adviced.

Unfortunately it doesn’t show up.

DaveS
tagDiv Member

Hi Vlad,

Thanks for your help!

I need to add this code (please note that XXXXXXXX will be replaced with a real Facebook appID) on post and product pages:

<div id=”fb-root”></div>
<script async defer crossorigin=”anonymous” src=”https://connect.facebook.net/bg_BG/sdk.js#xfbml=1&version=v3.3&appId=XXXXXXXXXXX&autoLogAppEvents=1″></script>

Code: https://www.dropbox.com/s/ky1m0a5zvgrpvt2/Facebook%20Like%20and%20Share%20buttons%20GD.jpg?dl=0

It should load these buttons: https://www.dropbox.com/s/x3b9mvdqois3iyj/Facebook%20Like%20and%20Share%20buttons%20GD-fronend.jpg?dl=0

There is further piece of code that should be added within the body tag, but I can take care of this myself.

I need the provided code and respectively Facebook button to appear on post and product pages. Please see the screenshots.

Post page example: https://www.dropbox.com/s/hoj2psbsmp4eqic/post%20page.jpg?dl=0

Product page example: https://www.dropbox.com/s/8223v1stpbua191/product%20page.jpg?dl=0

I’m using a child theme.

I really appreciate your support!

Thanks!

DaveS
tagDiv Member

Hi Vlad,

a custom template is not an option as we have used many different design templates already and don’t wish to lose that customization.
Is there a file that I can copy and paste in my child theme and then add the needed code?
Thanks!

p.s. We are using an older version of the theme and installing the library plugin wasn’t possible.

DaveS
tagDiv Member

I did not provide the real code. There should be numbers istead of XXXX-es and there is another part of code that goes within the body tag.

Just need to know which files and where to edit.
Thanks

DaveS
tagDiv Member

Thanks Simion, helpful as always!

DaveS
tagDiv Member

If that’s possible, I need to remove the product title from the breadcrumbs, not just hide it using CSS.
If there is no such possibility, then a CSS trick would be the last solution.

Looking forward to your feedback.

DaveS
tagDiv Member

This one has been fixed. Thanks!

DaveS
tagDiv Member

Hi,

I’d like to hide the titles from the breadcrumbs and I see that there is an option for this in the theme panel settings Template settings > Breadcrumbs – last oprion.

However when I switch off this button the titles are being hidden only on wordpress post pages. I don’t have a separate theme for the woocommerce section so product pages should be using the same breadcrumbs, technically. But the title there is staying.

Is there a way to remove the name of the products from the breadcrumbs using some custom code?

Thanks

DaveS
tagDiv Member

Hi Simion,
.entry-crumbs a,
.td-bred-no-url-last {
color: red;
}
This code changes the color ot the breadcrumbs up to the last element which is the title of the page. Its color doesn’t change.

DaveS
tagDiv Member

This is now resolved. It was a typo in a custom function related to caching.

DaveS
tagDiv Member

Unfortunately re-saving the permalinks didn’t help.

DaveS
tagDiv Member

Works perfect! Thanks Simion, much appreciated!

DaveS
tagDiv Member

Hi Simion,

I currently have the following:

.woocommerce .td-scroll-up{
display:none!important;
}

Adding below the following solves the issue, but only for 1 page. It works with only 1 page ID.

.page-id-41454 .td-scroll-up{
display:none!important;
}

Nothing happens if I add more page IDs separated by commas, or without commas. I need to hide it on multiple pages.

DaveS
tagDiv Member

Hi,

how to disable scroll to top on specific pages by page ID?

Thanks

Viewing 25 posts - 1 through 25 (of 161 total)