Search Results for 'block'

Results from the Forum
Lucian
tagDiv Staff

Hi,

First please make sure you set this right and try this: https://forum.tagdiv.com/topic/bugs-last-7-days-not-working/#post-24596
We have tested this and worked fine, each time was pulling the most popular posts as expected, we have also reviewed the code for this feature before last update and found nothing wrong with it. Please make sure you use this feature right and that you understand how it works so please consider that this feature, when enabled, it pulls and puts together the top most viewed posts that have been viewed in the last 7 days so it dose not matter if a specific post, added in a block which uses a post sorting of this type, it’s 5 or 6 or 7 years old as long as it has been the most viewed post from last 7 days, so it’s ok if a post that old it’s added.
I have also checked your site but unfortunately we can’t tell if the stats are right as we don’t have something to compare with so we suggest you to set up a Google Analytics account and compare the info you get from Google Analytics with the popular last 7 days feature posts and let us know what you find.
You can also use this work around: https://forum.tagdiv.com/topic/popular-7-days-post-sorting-still-doesnt-work-in-last-update/#post-22238
Hope this helps!

Thanks Lucian C.

rockcityrecord
Participant
#0

I use two sections of “Block 2” on my homepage. On the first block, the posts are stacked 2×2 but on the second set they are stacked 1×4. The second set is a cloned version of the first. Do you know why this is happening? I would like both blocks to be 2×2.

itrejomx
tagDiv Member
Ads - reply

Ok, i finally figured it out. Kaspersky blocked the ads full manual page. Suspending Kaspersky helps.
Finally was able to read the ad manual, and love how its very comprehensive.

This is a very interesting solution, but do you yhink it will work if I use a single image and make it responsive with css ?(width:100%;clear:both;position:relative;align:left; <— or something, have to try it out still)

SALZBURG12
tagDiv Member

unfortunatly this is not working for me. when applying those settings from the ubermenu knowledgebase I got the following written above the top menu of newspaper on my startpage:

ubermenu-target-title { margin-right: .6em; display: inline-block; } .ubermenu .ubermenu-item-layout-icon_right > .ubermenu-icon { float:right; } .ubermenu-sub-indicators .ubermenu-has-submenu-drop > .ubermenu-target.ubermenu-item-layout-icon_top:after, .ubermenu-sub-indicators .ubermenu-has-submenu-drop > .ubermenu-target.ubermenu-item-layout-icon_bottom:after{ top: auto; bottom:8px; right:auto; margin-left:-4px; } .ubermenu .ubermenu-target.ubermenu-item-layout-icon_top, .ubermenu .ubermenu-target.ubermenu-item-layout-icon_bottom{ text-align:center; padding:20px; } .ubermenu .ubermenu-target.ubermenu-item-layout-icon_top, .ubermenu .ubermenu-target.ubermenu-item-layout-icon_top > .ubermenu-target-text, .ubermenu .ubermenu-target.ubermenu-item-layout-icon_bottom > .ubermenu-target-text, .ubermenu .ubermenu-target.ubermenu-item-layout-icon_bottom > .ubermenu-icon{ text-align:center; display:block; width:100%; } .ubermenu .ubermenu-item-layout-icon_top > .ubermenu-icon { padding-bottom:5px; } .ubermenu .ubermenu-item-layout-icon_bottom > .ubermenu-icon { padding-top:5px; } /* Status: Regenerated */

#0

On the web use child theme and following the instructions in section 4. Remove blocking render css / js – using the Speed ​​TagDiv Boosterplugin (Advanced Users), i added the following to the file (root>carpetamiweb>wp-content>plugins>td-speed-booster.php)

// Informe Page Speed mejora
$this->move_style_to_footer(‘contact-form-7’);
$this->move_style_to_footer(‘rs-plugin-settings’);
$this->move_style_to_footer(‘rs-plugin-captions’);
$this->move_style_to_footer(‘tablepress-default’);
$this->move_style_to_footer(‘js_composer_custom_css’);
$this->move_style_to_footer(‘tablepress-responsive’);

// JS por Informe Page Speed mejora
$this->move_js_to_footer(‘jquery’);
$this->move_js_to_footer(‘mab-actionbox-helper’);

If we page speed https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2F zapatosdebaile24.com%2Fes%2F&tab=desktop

Remove the JavaScript blocking content display:
http:// zapatosdebaile24.com/…-includes/js/jquery/jquery.js?ver=1.11.1
http:// zapatosdebaile24.com/…s/jquery/jquery-migrate.min.js?ver=1.2.1

I keep getting some things unresolved and do not understand why

In addition to talking about these issues that also need to be optimized and have not ecnontrado how: Minificar CSS
Minificar JavaScript
Specifying browser cache
HTML Minificar

Can you help me?

Lucian
tagDiv Staff

hi,

The top menu doesn’t appear on mobile screens because it’s set to be hidden, you can change this and set it to be displayed via css, like this: http://screencast.com/t/cqcCAz8pu

@media (max-width: 767px){
.td-header-menu-wrap {
display: block !important;
}
.affix .mobile-logo-wrap img {
height: 100%;
}
.mobile-logo-wrap img {
height: 100%;
}
}

Thanks

Lucian
tagDiv Staff

Hi,

Menu’s alignment is set from header.php file, you can change the top menu location by moving this line locate_template('parts/menu-top.php', true); and add it after the header menu for the style you want to use, like this: http://screencast.com/t/l0f8ud7l
From my example you will get this result: http://screencast.com/t/I8NVJyDA
Note that this will move the top-menu on all screens after the header menu so it would be better(if you only need it in mobile screens) to use this css to set it to be displayed only for mobile screens:

.td-header-menu-wrap {
display: none;
}

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

Thanks

Radu
tagDiv Staff

Hi,

Your suggestion is quite good and I will update the message and the permissions for the nag screen. I’m very sorry for this inconvenience, I know it’s an extra step but we add it to prevent mass piracy of the theme.

You can use the same key on your dev servers and domains – we have no intention to limit that. Only when one gets out on the forums we block it.

Radu O.

Lucian
tagDiv Staff

Hi,

When you upload and image WordPress automatically crops that image on multiple sizes and based on the add_image_size() function, the thumbs needed by the theme to the different modules you are using are made https://forum.tagdiv.com/modules-and-blocks/
You can read more about this here:
1. http://codex.wordpress.org/Function_Reference/add_image_size
2. http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/
This ius the same way the featured image it’s cropped, you can change this as you like.
Also make sure that you use images around 1200px and 500px height, this will make cropping more accurate as the max image size used by the theme is at 1074px width and 483px height.

Thanks

Lucian
tagDiv Staff

Hi,

You can use the caption filed which is hidden by default on post template 3 but you can use this css to display it, like this: http://screencast.com/t/HPKD056v
Change the font color/family/size as you like, you can also adjust the distance from the bottom or you can style the caption as you like.

.single_template_3 .td-post-featured-image .wp-caption-text {
display: block;
font-family: Sacramento,'Open Sans', arial, sans-serif !important;
color: white;
font-size: 30px;
position: absolute;
bottom: 110px;
left: 10px;
}

.single_template_3 header {
bottom: 0px;
position: absolute;
top: auto;
width: 100%;
}

Hope this helps!

Thanks

atflaten
tagDiv Member

Hi again

Everything looks great in Chrome (38), but how do I write IE11 specific CSS? The logo in the menu looks all messed up in IE11…

/* —————————————————————————-
Custom CSS
*/
.menu-item-40484 {
display: none;
}
.affix .menu-item-40484 {
display: block;
}
.menu-item-40484 {
position: absolute; left: 260px;}
}
/* responsive portrait tablet */

@media
(min-width: 768px) and (max-width: 1018px) {
.menu-item-40484 {position: absolute;left: 35px;}
}
/* responsive landscape tablet */

@media
(min-width: 1019px) and (max-width: 1199px) {
.menu-item-40484 {position: absolute;left: 52px;}
}

@media
(min-width: 1019px) and (max-width: 1199px) {
.td-menu-wrap #td-top-menu {
padding-left: 70px;
}

When scrolling, the logo in the menu looks like this in Chrome (38):
<!– copy and paste. Modify height and width if desired. –>

and it looks like this in IE11…..:
<!– copy and paste. Modify height and width if desired. –>

  • This reply was modified 11 years by atflaten.
Lucian
tagDiv Staff

Hi,

Unfortunately that is not possible, you can’t set 3 posts to be displayed in two columns.
Sorry about this, you can try to use another block like 4 or 5 which use smaller thumbs.

Thanks for the message!

Najm
Participant
Block 8 - topic
#0

Is there anyway to reduce the width of Block 8 and squeeze three columns instead of two. The two look pretty big.

It’s the talkshow portion I am talking about: check it out here: http://www.siasibaat.com/

Lucian
tagDiv Staff

Hi,

Please edit the td_block_mega_menu.php file and remove this code: http://screencast.com/t/8WLUloAcX

Thanks

Lucian
tagDiv Staff

Hi,

The Visual Composer Frontend Editor button was removed from the theme as it’s not compatible with theme blocks.
I think you can leave it if you want, should work with the default elements.
You can enable it like this: http://screencast.com/t/ObPqoA4By
Regarding the CTA button please note that we plan to add a new grid which will support all VC elements so we have this on our todo list and we are working on it. Sorry for the inconvenience. You could try to use a plugin for that until we can provide a fix for this.
Regarding the other buttons you can import the Visual Composer css style sheet which will style all your buttons: https://forum.tagdiv.com/topic/buttons/#post-21825

Thanks

Pjump
tagDiv Member

The function have a syntax error. The right code is this:
return '<div class="template_4_caption"><span class="td-block-author">' . $thumbnail_image[0]->post_excerpt . '</div></span>';

I call the function in the single_template_3:

<figcaption class="wp-caption-text" style="position:relative; bottom: 30px;">
   <?php echo get_template4_caption($post); ?>
</figcaption>

I added the code bellow the “close the row from td_page_generator” closing div. Despite the style that I apply inline, the layout is slightly different of the standard template (http://www.acege.net/acege/porque-sai-da-nike-alexandra-machado-na-acege-faro/). What I should change to match the formatting?

Lucian
tagDiv Staff

Hi,

You can also add font-size to the previous css, you can see in the screen shot that it’s working, like this: http://screencast.com/t/kTVBraj7
For mobile phones use @media query’s to target the mobile screen width, like this: http://screencast.com/t/BaXmddf6

@media (max-width: 767px){
.home .span8 .td_block6 .td_mod9 .entry-title a {
font-family: Tahoma, Verdana, Geneva, sans-serif !important;
font-size: 10px;
color: red;
}
}

This css will affect only mobile screens, use it to style it as you like.

Thanks

Lucian
tagDiv Staff

Hi,

Unfortunately you can’t add the module search layout via page builder as there is no block build with this module. You can only use this layout on categories/ latest articles/ author pages/ blog/ archive and other templates.
Sorry for the inconvenience!

Thanks for the message!

Lucian
tagDiv Staff

Hi,

I believe you were referring to module8 -> block9 not block8 as I couldn’t find any block8 on your homepage so for the excerpt of block 9 you can use this css to hide it on your homepage: http://screencast.com/t/7XtvVTm2vSD

.home .td_mod8 .td-post-text-excerpt {
display: none;
}

Thanks

Lucian
tagDiv Staff

Hi,

Unfortunately that can’t be done as the blocks have the same class you can’t easily target them via css to change only a specific one. You can try to search for an advanced css selector which can help in your case an try to change one block as you like, I’m not sure though how this would have to be, probably something like this: http://screencast.com/t/pyo6b3r6
Hope this helps!

Thanks

TheMediumUTM
tagDiv Member

This is what my solution in functions.php looks like (adapted from a stackoverflow thread). It looks like this: http://themedium.ca/arts/visual-studies-art-through-snail-mail

I removed the icon code here because you don’t have the assets or the CSS on your end, but if you want it, just ask.

// Show captions on template 4
// adapted from stackoverflow.com/questions/13850313/how-to-add-a-featured-image-caption-in-wordpress

function get_template4_caption($post) {
	$thumbnail_id    = get_post_thumbnail_id($post->ID);
	$thumbnail_image = get_posts(array('p' => $thumbnail_id, 'post_type' => 'attachment'));
	
	if ($thumbnail_image && isset($thumbnail_image[0]) && $thumbnail_image[0]->post_excerpt) {
		return '<div class="template_4_caption"><span class="td-block-author"> . $thumbnail_image[0]->post_excerpt .'</div></span>';
		}
}

In order to have it below the image, the function is called in single_template_4.php in each of the three sidebar cases, e.g. the last line here:

    <?php
    // we check the sidebar position and for each one we have a different case
    switch ($loop_sidebar_position) {
        default: // sidebar right - the default sidebar position
            echo td_page_generator::wrap_start();
            ?>
                <div class="span8 column_container td-post-content" role="main" itemprop="mainContentOfPage">
                <?php echo get_template4_caption($post); ?> <!-- new -->

Note that you might still want to add some CSS styling for template_4_caption or whatever classes you choose to use, e.g. some margin-top to distance it from the image.

If you wanted it on the image like the rest of the meta info, you would have to adjust this placement and the styling.

Pjump
Participant
#0

Hi,
It’s possible to show all authors in a page or in a sidebar block?

Thanks

Pjump
tagDiv Member

Hi again,
It’s possible to use the MS article display in front page? I would like to use it like any other block.

Pjump
Participant
#0

Hi,
How can I hide the excerpts of the first block of my page? Is the Block 8.
I tried to change the td_module_8 file without success.

ntoulios88
Participant
#0

Hi on my home page and my post pages. I use 3-4 units of block 7. From theme options I choose all of them to have arial family and a specific color. Is it possible one these block units (see the pic) to change the font family and the color???

I know it is easy for you but for it will take a lot of time to solve it.

http://www.alexiptoto.com/wp-content/uploads/2014/10/leonardofinal_2627141b.jpg

( Maybe in your next update to add options in blocks-modules to choose for every block different font family). But anyway your theme is far the best!

Viewing 25 results - 37,726 through 37,750 (of 39,816 total)