Search Results for 'block'

Results from the Forum
Catalin
tagDiv Staff

Hello cva183,

If you want to have on mobile mode the button back to the top, you have to use a bit of CSS code to do that. Please try the code below and place it in Theme panel->Custom CSS area.

The code is ->

@media (max-width: 767px){
.td-scroll-up-visible {
display: block;
}
}

Thanks.

Bogdan B.
tagDiv Staff

Hi,
The best way to go about this is to use the theme API system: https://forum.tagdiv.com/td_api_blockadd/
Please note that this requires coding knowledge and is not covered by support.
Thank you!

Andrei L.
tagDiv Member

Hi

You can add an h1tag using a text block with some content in it: http://screencast.com/t/O0Ude9tjhttp://screencast.com/t/0wGxUXdY

Thanks!

Catalin
tagDiv Staff

Hello bikingculture,

As you can see in this area, there is a list with all of the thumbs which are used in our theme and what kind of blocks and modules uses them. In this case, the 696px*0 thumbs mean that this type of thumb has the dynamic height which can modify depending on the image used. The right size of the image will be with the 696px for width…if the image will be larger than this size, the theme will crop to the 696px of the width. If you want to change this value, you have to alter the code from the core file td_config.php, like this -> http://screencast.com/t/umAcIcIvTTl

Hope this helps!

Thank you for the message!

manojkhatri
tagDiv Member

Thanks Bogdan!

I have one more query. I wanted to make some changes to a particular block but I don’t want to change the original block. I would like to save the block with a new name and make changes in the new block. Can you guide me on how I can add a new block, create the shortcode and register the block?

Bogdan B.
tagDiv Staff

Hi,
This issue usually comes from uploading images that are smaller than the container. The theme crops images but it does not enlarge them. Your images need to be at least the size of the thumbnail used for your grid.
If your images are big enough, then you can follow this guide to fix the strange looking images: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
you can use the thumbnail upscale plugin as it will enlarge images to fit the containers but you need to also regenerate thumbs afterwards.
Thank you!

cva183
tagDiv Member

FIXED: I’ve cloned the homepage to see, surprise surprise, it works perfectly if its not set as homepage. Then I thought that it might be some sort of ad or something, so I paused adblocker and BOOM! there it was, on pc also.

Turns out that Google Adsense decided to place a “Blank Add” right in the middle of my freaking Block. That was the issue… Stupid Adsense.

Catalin
tagDiv Staff

Hello Laonce,

Please try the code below and place it in Theme panel.

The code is ->

.comments .block-title{
border-bottom: 2px solid red;
}

The result you should see here -> http://screencast.com/t/xwKrYwAf

Thanks.

Andrei L.
tagDiv Member

Hi

By default the theme does not display the top menu on mobile devices. However you can use this css in theme panel > custom code > custom css to display the top menu on mobile: http://screencast.com/t/CR5mfgq8EON

@media (max-width: 767px){
.td-header-top-menu {
display: block;
}
}

Thanks!

cva183
tagDiv Member

Also, if I duplicate the block (the same block) and move it down the page, it works without a problem… this is driving me crazy!!!

cva183
tagDiv Member

No matter if I choose another block (block 2 for example) and it doesn’t matter what settings do I use, I still have that white gap there.

Is there something I can do??

newsblaze
Participant
#0

I want to either create a new page template or to modify an existing template so it doesn’t show ads in the body
For example, I use Post Style 5 as my default right now, and I want to use Post Style 3 for stories that have a large image to display. There may be some text below them and possibly a button to go to the next one.

In Style 5, I have an ad block in the top left corner, but I don’t want that in Style 3.
Also, in Style 5, I have a large block of image ads above the footer, but I may not want them in Style 3
How can I turn them off?

I saw you have previously talked about this, but it must have been before Newspaper v.6 and the instructions were in a screenshot that no longer exists.

bikingculture
Participant
#0

In the Block Settings section, it says that the ‘Default Post Template’ uses the 696px x 0 thumb.
Does this mean that images uploaded into a post should be inserted as 696px thumbs? (It doesn’t do it. They are inserted as their original size.)
If not then can it be done and where the code needs to change?

Thank you in advance,
Joe

drae
Participant
#0

We recently added the plugin Visual Composer – Social Streams With Carousel (http://codecanyon.net/item/visual-composer-social-streams-with-carousel/11471294) to our website. Once activated it causes some errors to the theme:

1. removes back to top button.
2. removes read more pop up module.
3. removes category filters on block’s

Wondering if you had any idea on why this would be. Still waiting on a response from plugin developer.

Thanks,

thematanater
tagDiv Member

Hi,

Thanks, the first one worked perfectly!

for #2, I’m trying to set the same color to everything on the page, visual edit isn’t letting me change the color for the “latest articles” and down. Vis composer isn’t showing an option for changing the color to that (so it’s the same color as the block above it). http://www.screencast.com/t/7g7IMWLQmd http://www.screencast.com/t/KhXxzC4nrLyP

I’ll have to get back to you on #3 until I’m approved for ads.

Thanks!

adidas1766
tagDiv Member

Awesome thank you! I went with the block 7 and it is exactly what I wanted. Thank you for everyones help!

willysawa
tagDiv Member

take a look at the main menu, you will see a tine hover light blue line when you drag the cursor, i want the whole block to be covered
http://teamreporters.com/

Andrei L.
tagDiv Member

Hi

There is not an ideal image size for all thumbs, and a way to find what image will fit best would be to do some tests depending what blocks/modules you use most add an image more nearest with aspect ratio of the thumbs in which you want it to look well. You can read more about aspect ratio here – http://digital-photography-school.com/aspect-ratio-what-it-is-and-why-it-matters/- https://forum.tagdiv.com/theme-thumbs/ and also this topic might help: https://forum.tagdiv.com/topic/ideal-for-featured-images-size/

Thanks!

Catalin
tagDiv Staff

Hello thanik30,

If you want to decrease the font size for the block title (for block 13) you have to use a bit of CSS code to do that. Please try the code below and place it in Theme panel->Custom CSS area.

The code is ->

.td_module_14 .td-module-title{
font-size: 16px!important;
}
.td_module_mx3 .td-module-title{
font-size: 13px!important;
}

The result you should see here -> http://screencast.com/t/gC4Iu5xc3

Hope this helps and let us know how it goes!

Thank you for the message!

Andrei L.
tagDiv Member

Hi

That happens because in your code is missing a bracket. Replace that code with this one, it should work fine:

<div class="td-header-rec-wrap">
    <?php

    // show the header ad spot
    if (in_category('Automotive')) {
        echo do_shortcode('[td_block_ad_box spot_id="custom_ad_4"]');
    }
    else {
        locate_template('parts/header/ads.php', true);
    }
    ?>
</div>

Thanks!

  • This reply was modified 10 years by Andrei L..
thanik30
tagDiv Member

yes! it works just like what i wanted. thank you very much.

I also would like to ask you further… how to decrease the font size of the title in block 13 coz now it’s too large, so it has two lines which the title space eats into featured image too much – nearly half of the photo.

Thank you.

revistatrazos
tagDiv Member

Sorry but that’s not the problem Bogdan.

Check the following link and go down to the bottom:

If you click then “LOAD MORE”, block images looks missing: href=”https://k61.kn3.net/5/0/C/8/3/6/129.png&#8221; target=”_blank”>

Andrei L.
tagDiv Member

Hi

By default the theme display in blocks posts from default wp post type and assigned to default wp taxonomies. At the moment we don’t have a filter which allows the user to filter posts by custom taxonomies, only by custom post types. Usually a custom taxonomy it is assigned to a custom post type, that also happens if you’re using our plugin td-custom-post-type plugin. So basically to avoid posts from a custom taxonomy being displayed in a block you can remove the post type from query.
You can customize the query for block by editing the td_data_source.php file: http://screencast.com/t/jkYWSL90YhKY Please consider that this is a complex task which requires lots of customiations and good coding skills in order to be achieved. We can’t offer customization services at the moment so if you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.

Thanks!

Catalin
tagDiv Staff

Hello heisenberg234,

If you want to insert the ad under the main menu bar, you have to use the do_shortcode method. Please follow the below tutorial ->>

This is the right order to display the ad using do_shortcode function:
I will use custom ad 1 as example:
– paste the ad code in theme panel > ads. custom ad 1: http://screencast.com/t/I4fGyfFoyc
– get the ad spot’s shortcode. To get the shortcode add an ad box into a blank page then switch in back-end editor copy and paste this code: http://screencast.com/t/Kcqsjk9C7xbU inside do_shortcode function.
– paste the code which renders the shortcode in the file corresponding with the header style used.
For example, if you’re using header style 1 the file which must be edited is header-style-1.php http://screencast.com/t/itasx4W4Thttp://screencast.com/t/5vAMrfFwW

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

Thanks!

Catalin
tagDiv Staff

Hello thanik30,

I suppose that you are referring to excerpts from the blocks. If you want to increase/decrease the length of this you have to check the Theme panel and set it from here -> http://screencast.com/t/hsIjWNRh For more information about this feature, please check our documentation here -> https://forum.tagdiv.com/excerpts-introduction/

Hope this helps and let us know how it goes!

If is not what you mean, please provide more details about your desired changes so I will be able to provide a more accurate response.

Thank you for the message!

Viewing 25 results - 30,926 through 30,950 (of 39,816 total)