Search Results for 'flex'

Results from the Forum
Hari
tagDiv Member

I’m not having the Flex Block 3 option.I’m running V 8.8.1

Bogdan B.
tagDiv Staff

Hello,

You can only create a custom block using the theme api, but you do not have to since the latest theme implementation. You can use one of 3 flex blocks in the tagdiv composer which allow you to create blocks with the layout you need. https://www.screencast.com/t/vzbROThbyy

The flex block is a powerful custom block builder.

Thank you!

VisArtCBR
tagDiv Member

Hi

I finished setting up the flex block how I want it, but I’ve just noticed it is not mobile responsive. For example, I’m using flex block 1 with 4 modules per row. Can I get it to show 1 module per row on a mobile device?

Thanks

VisArtCBR
tagDiv Member

Hi again

I downloaded 8.7 and used a flex block. Problem solved!

Thanks

Simion C.
tagDiv Staff

Hi,

There will be many new features added in future updates. There will be more and more flex blocks added with even more settings. So you can build your blocks and modules in many more ways.

miguel_dimase
Participant
#0

Hi,

I couldn’t find on the tutorial or in the forum the way to keep an EXTERNAL css file, as I did with my previous theme (Atahualpa, extremely flexible). I do not want to keep my css code INSIDE the theme.
How and where can I tell Newspaper to use an external CSS file? (I have made a child Newspaper).

In my previous theme, I used the instruction:

<link rel=”stylesheet” type=”text/css” media=”all” href=”/wp-content/themes/atahualpa_child/migueldimase.css” />

Thanks in advance

Simion C.
tagDiv Staff

Hi,

Stretched blocks will use the same thumbnail as non-stretched blocks. So regenerating the thumbnails would have no result in quality. We recommend that either full grids are used when full with is needed
https://demo.tagdiv.com/newspaper/full-big-grid-1/
Or flex blocks (there are many more to come in future updates)
https://demo.tagdiv.com/newspaper/flex-block/
These flex blocks allow you to choose thumbnails size, so the quality would be more proportional to your original images
https://www.screencast.com/t/5Ucr6Hwkk

This demo homepage is built using only flex blocks for example
https://demo.tagdiv.com/newspaper_crypto/

Thanks

Simion C.
tagDiv Staff

Hi,

The theme will create thumbnails from images, so all those thumbnails would have to be compressed when displayed. The sizes that will be created can be disabled if needed, in the theme panel
https://forum.tagdiv.com/theme-thumbs/
Each module uses a predefined thumbnail which cannot be changed unless code modifications are made.

The new flex blocks are becoming quite popular, because one can use the same block to achieve many results, while also selecting the thumb size
https://demo.tagdiv.com/newspaper/flex-block/
For example this demo homepage is built with one block, the flex block
https://demo.tagdiv.com/newspaper_crypto/

Thanks

kradma
Participant
#0

I have created an avatar for two of my users, one is an author and the other is just a contributor.
When I publish something that has to appear in the flex block it appears but does not show the desired avatar, instead it shows the default avatar.
Here are some captures:
Contributor profile: https://gyazo.com/246f322ec626eae80ca9b34d4eebfea5
Post with the contributor avatar: https://gyazo.com/fd13d9e0261a7d10302cf50b5aadc51a
Post with the AUTHOR avatar: https://gyazo.com/8cd5c966450bac217e2c52499013773a
Here is where the authors avatar must go: https://gyazo.com/31ca8f73ee8466bbfe8466c072d41f6f
I hope you can help me.
Regards

Bogdan B.
tagDiv Staff

Hello,

There is no need to duplicate the flex block from the theme code. you can add as many instances to the flex block as needed on the same page. There is no limit on how many flex blocks you can add.
If you use a custom class for the blocks you need altered, you can use the class just on those blocks and you will not affect any others. Say you have 3 flex blocks on a page and you want just 1 or 2 altered, you simply place the class in the extra class field and the blocks will receive the css.
Example:
Let’s say we call the custom class ‘flex-custom’
You would add this code in your theme panel-> custom css:

.flex_custom .td-module-container{
border: 1px solid lightgrey;
box-shadow: 1px 0 20px #949292;
border-radius: .25rem;
}

Then simply add the extra class to the flex block you want to have the custom style:
https://www.screencast.com/t/BHgS1Qlh

Any other block that will not have this class will not get the style.

Thanks.

shuaaa
tagDiv Member

Hey,

Sorry for the late reply – but that won’t work.

That shadow, in the css, I’m trying to put around each article, not the whole element. Sorry, I should have probably been more specific earlier.

The problem is that if I do any of the above suggestions it will affect everything and not ONLY the articles I’m trying to make look like cards.

I think, what I need to do is duplicate the flexbox element and change the classes.

So for example:

1 flexbox at the top of the homepage
– let’s call it flexbox because it’s the default

1 flexbox lower on the homepage
– let’s call it flexbox2
– then I can change the class names (eg. .td-module-container-home2)

To make the end result looks like this: https://imgur.com/a/Q0TlIq4

I think what I need help with now is can you tell me how I can add a second flexbox? Or what files I would need to duplicate?

Thanks!

Simion C.
tagDiv Staff

Hi,

There will be more flex blocks added in the future, but I can’t say whether they will have such pagination. I will add this as a suggestion for them however.

ctoweett
tagDiv Member

Hi @simion. Is it possible for the team to introduce a few blocks (like say, have a flex block 4), with normal pagination (like in the templates for category pages for cloud library?) This would be a nice addition to the existing blocks. Possibly, I would like to deploy one for my homepage.

ecstaticperson
tagDiv Member

Answering number 2, The hover effect I would like is when it switches to a different image when you hover – just like in the ‘column content’ element. I prefer to use the single image (instead of column content) because it is more flexible for me. Thanks again.

Tatiane Pires
Participant
#0

First: I don’t want blocks or modules with two equal width columns.

When I select a row’s properties, there are very limited options for the number of columns. Perhaps it’s buried in some tab I simply happened to overlook. The thing is: on Visual Composer it’s possible to configure a lot more options as for number of columns and their widths by figuring out the math of it.

On Visual Composer I can set the columns like: 3/12+3/12+6/12 or 2/12+2/12+2/12+3/12+3/12 or whatever, I think the point is clear that this is a lot more flexible.

I need something much simpler as for columns’ configuration: 1/2+1/2. Again empty columns, so I can insert whatever text element, html element or any other element I need.

However I had to select the page by the post ID on the database, and input the following into post_content:
[vc_row][vc_column width="1/2"][/vc_column][vc_column width="1/2"][/vc_column][/vc_row]

Because if this change was to be made on WordPress’ default editor, then TDC would cry out like “You made changes outside TDC”. ¬¬

If this is the case that I missed something on TDC row settings, would you point it out, please?

Or, in case configuration of a row’s columns has really become restricted to those few options, I suggest to bring back a field like Visual Composer’s to input the fractions that sum up to the number of columns.

Simion C.
tagDiv Staff

Hi,

There could be visual differences between default blocks and the flex blocks, in some cases. The flex blocks set the featured image as background for the module
https://www.screencast.com/t/l9ZC2GtlL
Try to increase the image height parameter in the settings, test with higher values than 50
https://www.screencast.com/t/wjL30Ge6O3kO

Thanks

Andy
Participant
#0

How can I control the image cropping in the Flex Block 1 and 2? It keeps chopping the top off images … I can’t determine if it’s trying to center it or what.

The normal blocks do not do that.

http://hitthatline.com uses the old blocks

The redesign we want to go with is: http://hitthatline.com/home-2.0/

As you can see thumbnails on images cut off the heads, particularly on mobile

shuaaa
tagDiv Member

Hey thanks for replying.

I understand what you’re saying, but I’m not trying to change the setting – rather I’m adding new css properties to one and not the other.

Example.

Flexbox 1:
(do nothing, keep it normal)

Flexbox 2: {
border: 1px grey solid;
box-shadow: 1px 0 20px grey;
}

The only thing I’ve been able to find that changes it is
.td_module_flex_1 .td-module-container but that changes both flexboxes.

Bogdan B.
tagDiv Staff

Hello,

Each flex block has it’s own particular settings from the tagdiv composer. Changing the setting for one flex block, will not affect the other one on that page.

Thank you!

Bogdan B.
tagDiv Staff

Hello,

It depends on the block you use and the aspect ratio of the image. Most of our theme blocks are wide and your book covers are most likely vertical so the theme center-top cropping system will only show the top part of your book cover.
https://forum.tagdiv.com/featured-image/
You cannot have full size vertical images in a wide-screen thumbnail
In this situation, we recommend using a flex block to show the books as you have control over the image size and proportions: https://www.screencast.com/t/gyyMp84MX

Thank you!

shuaaa
Participant
#0

Hey,

I’m using a flebox twice on the same page – one for multiple articles and one for a single headlining article.

Is there a way I can edit the css of one of the two without affecting the other? Maybe if it’s a little tricky… setting a custom class somewhere, or creating a new flexbox template?

meri
tagDiv Member

Ok, a friend found the solution, I had to add the code flex-flow: wrap;
Hope it’ll help someone else.

meri
tagDiv Member

Hi Catalin,

If I remove the following code then the stars go below the title.

.td_module_6 .item-details {
display: flex;
align-items: center;
}

Maybe there’s an error in my code? Could you kindly help?

meri
Participant
#0

Hi,

I use this code to align the titles on mudule 6

.td_module_6 .item-details {
display: flex;
align-items: center;
}

But now the ratings are on the right hand side. How could I have them below (and in line, not on 2 lines)?

Screenshot: https://ibb.co/fVyMPd
URL http://www.coupdepoker.com

Thanks for your help

Catalin
tagDiv Staff

Hello,

I have made a test on my website, using the Flex Block 1 and everything seems to work as expected, as you can see here -> https://www.screencast.com/t/pJbj3wlOA5H The results are good.

Thanks for the message!

Viewing 25 results - 5,951 through 5,975 (of 6,276 total)