Search Results for 'css'

Results from the Forum
Simion C.
tagDiv Staff

Hi,

From what I can see there is custom CSS that stretches the composer rows, this should not be done – https://prnt.sc/pqlgyf
As a result the images will be stretched as well.

If you want a wider layout please consider using cloud templates. They can be used for categories, tags etc
https://cloud.tagdiv.com/#/load/Category
https://cloud.tagdiv.com/#/load/Tag
These templates are created with the composer, meaning there will be access to row width settings – https://prnt.sc/pqli96

In stretched rows we recommend to use flex blocks and loop elements for better and more quality results – https://cloud.tagdiv.com/#/load/Blocks
If you need help or you have more questions let us know.

Thanks

Simion C.
tagDiv Staff

Hi,


@Maggo
If you would like us to take a look, please let us know. Mention some more details about it, and post a link to where we can see the problem.


@Decentralbox
That should have been possible to solve with CSS, if you should activate the mobile theme again in the future, we could give this another try.

Thanks

Simion C.
tagDiv Staff

Hi,

I see the problem. That vertical line is added by the Lifestyle demo currently installed in the website. It is a design item used for the next/prev pagination, specific to this demo – https://demo.tagdiv.com/newspaper_lifestyle/ -> https://prnt.sc/pqj6ul

The quickest solution is to hide that line – https://prnt.sc/pqj7dm
Enter this code in the theme panel custom CSS section

.td-lifestyle .td-next-prev-wrap .td-ajax-next-page:after {
display: none;
}

Let us know if you have more questions.

Thanks

Simion C.
tagDiv Staff

Hi,

If you have hidden it on all devices then it won’t appear anywhere. Open the CSS section in the composer and enter this code in it – https://prnt.sc/pqi1z7 the row should then be visible so you can interact with it. Then you can remove the code, after you make it visible on at least one viewport

.td-pb-row.vc_row {
display:block!important;
}

Thanks

Simion C.
tagDiv Staff

Hi,

So something like this? – https://prnt.sc/pqhrpp This code should do it

.tdb_header_menu .tdb-menu > li {
float: none;
display: inline;
}

It can be entered in the theme panel custom CSS section. I can modify it if needed.

Thanks

divaspathak
tagDiv Member

So, can we add an image by some custom CSS code? or there is no way to insert an image?
https://www.bestsevenreviews.com/vpn/
Like here you can see this website has added images and then read more option. So can we do this by custom CSS code?

agadsden
tagDiv Member

I have now done this using CSS. If there is a theme setting please let me know! Thanks.

agadsden
Participant
#0

I would like to increase the space after each item in an ordered list, similar to my paragraph spacing. Is there a way of doing this through the theme settings or would I need to do it through CSS?

Calin
tagDiv Staff

Hi,

That is the background color from the header zone, in order to change it you’ll need to edit the header, click on header menu -> http://prntscr.com/pq22e3 and check the css tab -> http://prntscr.com/pq22m7 -> http://prntscr.com/pq232b

Hope this will help you!
Thank you!

Calin
tagDiv Staff

Hi,

This can be achieve in two ways:
1. Using the mobile theme plugin -> https://tagdiv.com/mobile-theme-get-mobile-ready-with-newsmag-theme/
2. Using a custom css -> http://prntscr.com/pq1tzh
.td-main-sidebar{
display: none!important;
}

Thank you!

Calin
tagDiv Staff

Hello,

Unfortunately on category page you can change the background color only with custom css -> http://prntscr.com/pq1kyz, if there is still a problem, please provide me a link where I can check your categories.
.td-subcategory-header .td-category a{
background-color: #f22;
color: #fff;
}
.td_category_template_1 .td-category-header .entry-title span {
background-color: #2f2;
}

The code need to be set in Theme panel> Custom code> Custom css

Thank you!

Artemide
tagDiv Member

it is a css rule blocking links for the moment
I just wanted to know if there is a technical solution for my issue

gaviny
Participant
#0

I’d like to use the header main menu element on one page as a secondary menu, as shown here: https://staging.quadris.co.uk/solutions/

I would like to centre align the menu on this page but can’t work out the CSS to do it.

Please could you advise.
Many thanks

Calin
tagDiv Staff

Hello,

If you want top remove all those from all blocks then you can use the options from theme panel -> http://prntscr.com/ppo02o ->https://forum.tagdiv.com/meta-info-modules-blocks/ or if you want to apply only on block 5 then you can use a custom css like this one -> http://prntscr.com/ppo1j1
.td_block_5 .td-module-meta-info{
display: none;
}

The code need to be set in theme panel> Custom code> Custom css

Hope this will help you!
Thank you!

Vlad S
tagDiv Staff

Hello !

That can be achieved using tagDiv Composer on a page. You can use the Price element found in the composer as you can see it here: https://www.screencast.com/t/bd0Ki72uJ10

Also please note that from what Ive seen that page uses some custom css too.

Thank you !

Vidaregner
tagDiv Member

Hey!

What CSS do I need to use to remove black comment box, author’s name and time posted in block 5 widget?

I use facebook comments so now I can have tons of comments but it counts as 0:
https://www.streetartutopia.com/?p=1143

Calin
tagDiv Staff

Hi,

Unfortunately the header style will apply for all devices, you can set different styles on blocks only if you are using custom css

Thank you for your understanding!

Yahtzee_Wikilord
Participant
#0

Hi

If I don’t intend to use buddypress or woocommerce, can I remove that code?

style-bbpress.css
style-buddypress.css
style-woocommerce.css

Best Regards

Calin
tagDiv Staff

Hi,

1. You can use the mobile theme plugin in this way you can have a different content and layout, or you can use the responsive version and flex blocks, these can be set with different layout on each device -> http://prntscr.com/opf5vx -> http://prntscr.com/opf6lf

2. So you can use the banner and set a link on theme like in our example from here -> https://forum.tagdiv.com/using-other-ads-non-adsense-ads/ -> http://prntscr.com/pp2hra

3. The sidebars can be add in two ways, one using widgets -> http://prntscr.com/pp2cad or on pages/templates using tagDiv Composer.

4. You can use this custom css to change the description category color -> http://prntscr.com/pp27gx also you can change that text from category like this -> http://prntscr.com/pp29k3 -> http://prntscr.com/pp29k3

5.You can use a licence key for one single product. According to Envato license terms a theme can be used for a single end product (website)
https://themeforest.net/licenses/standard
https://themeforest.net/licenses/terms/regular
You can finde the code using our guide for theme activation ->http://prntscr.com/pp2324 -> https://tagdiv.com/how-to-activate-the-newspaper-theme/

Thank you!

Calin
tagDiv Staff

Hello,

You can check this custom css to set the bottom space only on posts for h5 -> http://prntscr.com/pp1n6k
.single h5{
margin-bottom: 21px;
}

You can adjust the number of px after your needs.
Also the code need to be set in Theme Panel> Custom code> Custom css.

Hope this will help you!
Thanks.

Vlad S
tagDiv Staff

Hello !

That can be adjusted using CSS code. Please provide a link to your website and we will take a look.

Thank you !

BlakeForm
Participant
#0

Hello,

I have 2 questions.

I want this launch timer to show up at the bottom on every single post. Where do i need to place the code?

<div data-type="countdown" data-id="1537321" class="tickcounter" style="width: 100%; position: relative; padding-bottom: 25%">Disney Plus LanceringCountdown</div><script>(function(d, s, id) { var js, pjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//www.tickcounter.com/static/js/loader.js"; pjs.parentNode.insertBefore(js, pjs); }(document, "script", "tickcounter-sdk"));</script>

Also, i want to hide the date on every single post, but only in my ‘aanbod disney plus’ category. I placed the below code in Custom CSS. It works, but is this the right way to do it?

.category-aanbod-disney-plus .td-post-date {
display:none;
}

thantai40
Participant
#0

Hello,

I just discover that Loop Template 18 – Life News PRO doesn’t have “Filter” tab.
When I load the template, everything looks fine but when I click on “Element”, on the left side there’s no “Filter” tab. There’re “General”, “Layout”, “Style”, “Css”. So I wasn’t able to change the category to display.

I hope to hear back from you.

Thanks

asgertrierengberg
Participant
#0

Dear support

When install the theme, I get the error as written below. Could you please inform me on what the problem is?

Also the homepage does look wrong.

Please look at kltr.dk

Thank you

Asger

———————–

Error:

Fatal error: Uncaught Exception: Expected single stylesheet key. in /var/www/kltr.dk/public_html/wp-includes/customize/class-wp-customize-custom-css-setting.php:71 Stack trace: #0 /var/www/kltr.dk/public_html/wp-includes/class-wp-customize-manager.php(5617): WP_Customize_Custom_CSS_Setting->__construct(Object(WP_Customize_Manager), ‘custom_css[]’, Array) #1 /var/www/kltr.dk/public_html/wp-includes/class-wp-hook.php(286): WP_Customize_Manager->register_controls(Object(WP_Customize_Manager)) #2 /var/www/kltr.dk/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /var/www/kltr.dk/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #4 /var/www/kltr.dk/public_html/wp-includes/class-wp-customize-manager.php(928): do_action(‘customize_regis…’, Object(WP_Customize_Manager)) #5 /var/www/kltr.dk/public_html/wp-includes/class-wp-hook.php(286): WP_Customize_Manager->wp_loaded(”) #6 /var/www/kltr.dk/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) in /var/www/kltr.dk/public_html/wp-includes/customize/class-wp-customize-custom-css-setting.php on line 71

jcarhuazv
tagDiv Member

Hi.
I checked those files but and any modification is overwritten by the javascript td_resize_videos function in the file tagdiv_theme.js / tagdiv_theme.min.js line 5009:

jQuery (document) .find ('iframe [src * = "youtube.com"]'). each (function () {
var videoMainContainer = jQuery (this) .parent (). parent (). parent (),
videoInPlaylist = jQuery (this) .parent (). hasClass ("td_wrapper_playlist_player_vimeo"),
video43AspectRatio = videoMainContainer.hasClass ("vc_video-aspect-ratio-43"), // the video is set to 4: 3 aspect ratio
video235AspectRatio = videoMainContainer.hasClass ("vc_video-aspect-ratio-235"); // the video is set to 2.35: 1 aspect ratio
if (videoInPlaylist || video43AspectRatio || video235AspectRatio) {
// do nothing for playlist player youtube or aspect ratios 4:3 and 2.35:1
// the video aspect ratio can be set on Visual Composer - Video Player widget settings
} else {
var td_video = jQuery (this);
td_video.attr ('width', '100%');
var td_video_width = td_video.width ();
td_video.css ('height', td_video_width * 0.5625, 'important');
}
});

If I modify any file in the td_composer plugin, these will be lost when I upgrade to a new version.

I am using the Featured video in the post to insert the video because it generates thumbnails directly from YouTube.
http://prntscr.com/po670t
In the td_resize_videos code there is no action declared when the ratio is 4:3. I want to do it then by CSS, but javascript overwrites it.

Have you considered a setting in the Theme Panel to disable or enable the autorize of the javascript function?

Can you tell me a solution? Can you disable the autoresize?

Best regards

Joseph

Viewing 25 results - 9,001 through 9,025 (of 33,436 total)