Search Results for 'block'

Results from the Forum
Gaurav
tagDiv Member

Hi Catalin,

Super thanks for your mail. My last question is, isn’t there another way to do it by just entering PX values in the design options of the text block? Adding the above could would change everything universally, I just want to change for few blocks.

Thanks,

Gaurav

vadiraj
tagDiv Member

Hello Simon,

Thank you for swift reply yes custom code is written in theme css panel
as follows:
.td_block_23 .td-column-3 .entry-title{
text-align:center!important;
font-size:5vw!important;
line-height:6vw!important;
font-weight:800!important;

}

now my problem is the image resize is still not coming in chrome browser ,
where as Mozilla firefox and IE on windows 10 is showing properly…
we are trying to replicate huffington post theme style.

Thanks

  • This reply was modified 9 years by vadiraj.
boos11
tagDiv Member

yes, I use your code to td_block_6. It’s result:

Fatal error: Class ‘td_block_6’ not found in /twojezaglebie/wp-content/themes/Newspaper/includes/wp_booster/td_global_blocks.php on line 35


if (!empty($posts)) {
foreach ($posts as $post) {

if($post_count >= (int)self::POST_LIMIT) {
break;
}

$td_module_3 = new td_module_3($post);

switch ($td_column_number) {

case '1': //one column layout
$buffy .= $td_block_layout->open12(); //added in 010 theme - span 12 doesn't use rows
$buffy .= $td_module_3->render($post);
$buffy .= $td_block_layout->close12();
break;

case '2': //two column layout
$buffy .= $td_block_layout->open_row();

$buffy .= $td_block_layout->open6();
$buffy .= $td_module_3->render($post);
$buffy .= $td_block_layout->close6();

if ($td_current_column == 2) {
$buffy .= $td_block_layout->close_row();
}

Simion C.
tagDiv Staff

Hi,

That is the way that block looks – https://demo.tagdiv.com/newspaper/block-23/ module 18 used on that block uses this thumbnail size – https://www.screencast.com/t/uEoJWV51s4 And I see that you have managed to modify the thumb size – https://www.screencast.com/t/q01WKbfx107a As for the module title font size, after inspecting it I see that you have set a custom size for it – https://www.screencast.com/t/mdVITiLSoCTN so if you want to have the initial font size please check any custom code you entered in theme panel, or in the theme files and remove it. Please provide more details or a screenshot if you meant something else and I misunderstood.

Thanks

Catalin
tagDiv Staff

Hello nairolf,

Thank you for your reply here. Also, please keep in mind that the website of ‘Bintmusic’ has been deeper inspected and the render blockings which Google does not consider to be moved in the footer these are even moved in this section by the plugin, which means that the Speed Booster works as expected. I agree with you, if you remove the Google Fonts, the theme will have a good page speed loading because your website will load with less one resource. Notice that the Speed Booster only moves the resources in the footer and it does not delete them, right? This topic will be available to be read by our developers and if they consider making some adjustments for this regard, notice that all of these changes will be included in our future updates.

Thanks for your understanding!

Bogdan B.
tagDiv Staff

Hello,

Please make sure you upload images that are larger than the container you want them to show up in.
And then use this guide: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/

Thank you!

gcamara
tagDiv Member

Sorry Catalin, I meant unique post content in a category template showing a bunch of blocks. I limited catgory to show hardcoding category_id param in the shortcode function but is there any “unique” param working as a global for that template or should I play with offsets?

Bogdan B.
tagDiv Staff

Hello,

Sorry but our theme does not have any option to exclude the current post shown or to filter a block on posts by the same category of the current post. Sorry. There is no simple solution we can provide in this regard. You will have to hire a developer to help out with this customization

Thanks.

vadiraj
Participant
#0

Hello there,

Greetings from liveday we have just purchased newspaper 7 theme
need help in fixing reducing size of featured image as thumb its coming in full width
need text to be in the same size and can i reduce image size
my page URL: http://livedayrush.byethost11.com/
please help…

Thanks…

Catalin
tagDiv Staff

Hello joeville9ja,

I have made a post and page test on your website and it seems to work as expected and all of these can be edited, like this -> https://www.screencast.com/t/k15gEA1eMa Also, I have noticed that you do not have any posts and that why your block are not showing some things, sorry! Please try to read all our documentation, try to understand each element of it and then begin to create your project.

Thanks for your understanding!

nairolf
tagDiv Member

Hi Catalin,
The eternal problem with the Speed Booster plugin is not how Google interprets/see the code, the problem is in the Speed Booster coding.

Please talk with your developer and look seriously a little closer to the problem because all that warnings are related with the Google fonts implemented in this plugin, “Speed Booster”.

Examples of rendering blocking and when appear:

  • since I bought your theme, I remove completely any Google font and never I receive that warning; if I use your default font or any other, yes I receive warnings about render blocking.
  • when featured image is disabled for posts
  • when blockquote is used in comments
  • when the post have too much comments (more than 200)

    I hope this information arrives to your developer.

    I’ve always used your theme without any other untested plugin (only Yoast Premium, Visual Composer & Speed Booster), not even WP Super Cache.

    I have to say that removing the Google font, allways we had 99/100 score (both PC & mobile) into PageSpeed Insights and the site charge in 0,4 sec.

    Maybe your developers will implement some default option to disable the Google fonts from the panel settings (I think we are many users that keep asking for this).

    ¡Thank you and best to all!

Simion C.
tagDiv Staff

Hi,

That is how it is supposed to be, the latest articles section appears after the page builder content – https://forum.tagdiv.com/page-templates-2/ and it would require changes in the theme files to modify this. You could remove the latest articles by choosing the default page template and add a block in the page structure where you want it, that uses the same module like here – https://www.screencast.com/t/nTIwbA5h7https://www.screencast.com/t/MB9yIvfZzuT And also use a widgetised sidebar or a split row sidebar – https://www.screencast.com/t/5OkrSxwOcKhttps://www.screencast.com/t/J3gm2YsCfcz

Thanks

Catalin
tagDiv Staff

Hello mairon brainer,

Unfortunately, our theme does not have any such an option for this functionality, sorry! If you want to have it, you should implement it yourself because we cannot provide custom work at the moment, sorry! Also, if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you or also, you can use some plugin with this functionality and see how this will work for you.
Also, please notice that we have some Blocks which use the Read More functionality like as -> http://demo.tagdiv.com/newspaper/block-12/ -> http://demo.tagdiv.com/newspaper/block-13/

Hope this helps!

Thanks for your understanding!

Simion C.
tagDiv Staff

Hi,

To disable the author name and date on all the blocks, go to Theme panel->Block settings – https://www.screencast.com/t/jQotzFp5mL

Thanks

Bogdan B.
tagDiv Staff

Hello,

In the category templates the theme will show the post and date if you enable it from the theme panel. The theme has 2 controls over the author and date. One is found in the post settings: https://www.screencast.com/t/nA2k5EST4v This optiopn affects only posts.
The second section found in block settings: https://www.screencast.com/t/nypjLUIPueO will affect all the theme modules and blocks including category templates.

Thank you!

DFC005
tagDiv Member

Here’s a link for my td_block_big_grid_3.php: https://www.dropbox.com/s/m1v55w18w9il6cy/td_block_big_grid_3.php?dl=0

Perhaps that will help you?

gcamara
Participant
#0

Hi

Any chance to filtering content block by same category as current post shown? something like input %category% or get_category_id somewhere?

Simion C.
tagDiv Staff

Hi,

First you have to move your ad code from the article bottom ad and insert it in a custom ad spot – https://www.screencast.com/t/8UFvuTxboHI Then you must edit the corresponding loop single file to the post template style you are using (post template style 2 – loop single 2), from the theme folder – https://www.screencast.com/t/sNN926Vt and insert the code provided below (you can change the custom ad number if it is currently in use elsewhere) in the post structure, like in the example after the post pagination. The result in my case is like this – https://www.screencast.com/t/aHRrFK18c1B the ad in now after the post pagination, and in your case should appear before the ad too reducing the distance between the post content and the pagination. This is the code used

<?php echo do_shortcode ('[td_block_ad_box spot_id="custom_ad_1" tdc_css=""]'); ?>

Thanks

boos11
tagDiv Member

all great, but I do not know where i paste your code to td_block_5.php
there already is more complicated for me

thanks 🙂

bigredfro
Participant
#0

Hi,

When I add new blocks or widgets using visual composer. They don’t show up on the editing screen but they show up on the actual site. What could I do to fix this?

appiccicati
Participant
#0

In category blocks is it possibile not show author nane and data publication?

ulrihovich
Participant
#0

why instagram photo don’t refresh in the widget or in the footer block?

Catalin
tagDiv Staff

Hello gcamara,

You should the Block Text with Title from Visual Composer. There you can add your desired text and then, using the do_shoretcode method you can inject it everywhere you want on your website, like this -> https://www.screencast.com/t/YX3u7G2iX9

Hope this helps!

Thanks for the message!

ariedrifke
Participant
#0

hello… i already bought the newspaper theme.. the problem i face is.. Mixed Content : the page at “my-post-url” was loaded over HTTPS, but requested an insecure stylesheet “http://fonts/googlepais.com/css?family=Lato&#8217;. This reqeust has been blocked: the content must be served over HTTPS. how to fix https on google fonts. thank you

Catalin
tagDiv Staff

Hello PatWire,

If you want to add a horizontal line between posts from Block 21, you should use a bit of CSS code to do that. Try the code below and place it in Theme panel->Custom CSS area.

.td_module_16 {
padding-bottom: 20px;
border-bottom: 2px solid green;
margin-top: 20px;
}

The result is here -> https://www.screencast.com/t/htaXxBaG2

Thanks for the message!

Viewing 25 results - 26,001 through 26,025 (of 39,816 total)