Search Results for 'css'

Results from the Forum
Page52
tagDiv Member

You can put it under Salient theme options > Advanced > Custom CSS, or you can put it under Appearance > Customize > Custom CSS.

Simion C.
tagDiv Staff

Hi,

You could use some CSS to customize how it displays. Something like this will work for the present situation
https://www.screencast.com/t/MVOHZ7MTcW
This is the code used, enter it in Theme panel->Custom CSS if you decide to use it

.td-menu-background,
.td-mobile-container {
width:75%;
}

You can use the browser inspector to identify the elements present on the page and their classes and create custom code
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Thanks

latihlogika
tagDiv Member

Like this webiste http://communicationforchange.id
the mobile menu only open 75%, not full width.

could you help me find the CSS code to change?

Thank you

xbass
Participant
#0

I try figure out how to set blue transparent title backgrounds like here, how to do this? I expected this to be a simple setting in the block css editor but it’s not there.

Thanks

Arioth
tagDiv Member

And one last question. Where do i put this custom css?

Page52
tagDiv Member

All I did was make the background of the main banner transparent and made the actual menu background black.

You can add this to custom CSS:

.td-header-wrap .td-header-menu-wrap-full {
background-color: transparent;

.td-header-main-menu {
background-color: #000;
}

Hope this helps!

Ken0929
tagDiv Member

Sorry I don’t understand.
I want to change h4 design(for”post”) to the same design(block template style8).
Do I need to edit the theme core?
I edited CSS like…as below. But it didn’t work.

.td-post-content h4 {
font-size: 20px;
font-weight: 800;
margin-top: 0;
margin-bottom: 18px;
line-height: 29px;
position: relative;
overflow: hidden;
}
.td-post-content h4 > * {
position: relative;
padding-right: 20px;
color: #000;
}
.td-post-content h4 > *:before {
content: ”;
display: block;
height: 4px;
position: absolute;
top: 50%;
margin-top: -2px;
width: 2000px;
left: 100%;
background-color: #f5f5f5;
}

meri
Participant
#0

Hi, how could I hide the Author box on some categories only (all devices)?
FYI, I already have this code in Custom code > Custom CSS
.category-NAME .td-module-meta-info {
display: none;
}

And this one for Mobile Custom CSS
.single .category-NAME .td-module-meta-info{
display:none;
}

Thanks for your help

Abarac
tagDiv Member

Ok … I see your point … but the same videos are on the other site and covering 100% of its container.

On that site those inline position styles don’t exist (screen). The site does not have any additional css. its just a classic vimeo iframe.

Is it posible to add right and left position to 0 !important when a video is in portrait mode? or all together to prevent those inline postion styles? I guess that this added by some script …

Can I achieve this on the screen-shot? If not to remove those position at least to give a #player a background of #111 ?

Sreen of the styles I wont to achieve

Simion C.
tagDiv Staff

Hi,

It would be possible with some CSS code. If you could provide a link to such a page (product category page and product tag page) I will try to give you a solution to hide the shop menu item.

Thanks

Simion C.
tagDiv Staff

Hi,

If you mean the divider below the menu, like this
https://www.screencast.com/t/VAlGA4idFztb
That will be displayed in the sound radar demo only if you remove the code from the demo as shown in the screenshot, instead of using the CSS code
https://www.screencast.com/t/VuTmWZkq1
Then the default divider will be shown instead of the demo customization
https://www.screencast.com/t/NLxu1e0NehB
Please correct me if I misunderstand what you wanted.

Thanks

Page52
tagDiv Member

Hi Milan,

I can’t recall – it was two years ago, but I think it was just their standard demo which I tweaked with a bit of custom CSS.

Greg K
Participant
#0

Hello,

I am trying to change the font for one “Text with title” box, and not all of them across my site. I saw another forum post about changing the CSS but I couldn’t get it to work.

Image: https://imgur.com/qVOEyCO
Website link: https://muhlenbergweekly.com/bergbeat/

Thanks!

Ken0929
Participant
#0

Hi,
I would like to change H4 for “posts” to just like Block Header Style 8.
I tried change css for H4, but it didn’t work. I understand I can change on Theme panel for “pages”.
Could you help it?

Edward
tagDiv Member

Enter it in Theme panel -> Custom code -> Custom CSS.

vladimirni
tagDiv Member

Yes,

Thank you very much I appreciate your help.

One more thing, where should i put this CSS code?

Abarac
Participant
#0

Hello, I have a problem using vimeo video as a featured video.

– When using template style 8 some left and right positions are added to a player inline

ex. <div class=”vp-player-layout js-playerLayout” style=”left: 151px; right: 151px; top: 0px; bottom: 0px;”>

– When using a default post template

ex. <div class=”vp-player-layout js-playerLayout” style=”left: 95px; right: 95px; top: 0px; bottom: 0px;”>

Some script is adding these styles and I am unable to override this css.

Also, I noticed that this does not accure when the video is in higher quality … form 720p and up there are no these inline styles added.

How can I fix this, so the video is always full width of its container?

Thanks, Alen

Simion C.
tagDiv Staff

Hi,

1. The post templates have predefined design, they will be displayed like it is the demo by default. Setting a custom color in the theme panel like you mention, will affect all post templates.
So by default the post title in post template 6 will be black, and in post template 11 will be white. The theme panel color you set will override the default color. To have them like that you do not need to do anything.

2. That would be possible with CSS code. Something like this will work for both templates (10 and 11)
https://www.screencast.com/t/QrqumUpruQr

.td-video-template-bg {
background-color: red;
}

This code can be entered in Theme panel->Custom CSS section, if you decide to use it.

Thanks

Catalin
tagDiv Staff

Hello kaibehrmann,

You should use the code below and place it in Theme panel -> Custom CSS area.

The code is ->

.wpb_text_column{
font-size:16px;
}

Hope this helps!

Thanks for the message!

Simion C.
tagDiv Staff

Hi,

The top menu will not be displayed on mobile. It could be made to appear with custom code, like this for example
https://www.screencast.com/t/F4Uj2zte22H
This is the code used, enter it in Theme panel->Custom CSS

@media (max-width: 767px) {
.td-header-top-menu-full,
.td-header-sp-top-menu {
display: block!important;}
.menu-top-container {
margin-right:0;
}}

Thanks

Simion C.
tagDiv Staff

Hi,

It will require to load the font first, then apply it wit CSS for the elements you want. This is a similar topic – https://forum.tagdiv.com/topic/change-mobile-theme-font/
More useful information here – https://developers.google.com/fonts/docs/getting_started
So load the font first, then identify the elements where you want to apply it with the browser inspector for example
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Thanks

mirko
Participant
#0

Hi,

1) i noticed that in your demo and in different categories you have different color titles:
for example:
in this page you have black title https://demo.tagdiv.com/newspaper/td-post-denton-corker-marshall-the-mysterious-black-box-is-biennale-pavilion/

in this one, instead, you have white title https://demo.tagdiv.com/newspaper/td-post-after-effects-guru-tracking-and-stabilizing-footage/

and it is perfect!

In the website im tryng to setting if i change post title color form theme-panel|theme colors|post title color it affects all posts, so if i insert white color it works for video template, but it doesnt work for the “post style 6” template (see https://d.pr/FREE/Sc9bW0) because the white title is on white background…

How to have different colours as in your demo?

2) how to have different colour background in the video template? (style 11 and 12?)
only via custom css?

thank you

Simion C.
tagDiv Staff

Hi,

The top grid cannot be disabled, unless you remove all posts from the Featured category so it will not appear, but that is not a good solution.
You could achieve that a different way, it will require a modification to the mobile front page template. The slider can be then placed above the top grid, like this
https://www.screencast.com/t/EdPqz4Ode
https://www.screencast.com/t/F5pmyn1oY1

<?php echo do_shortcode ('enter shortcode here'); ?>

The result would be like this – https://www.screencast.com/t/iyizmSRu0a
Some margins could be added to top and bottom if needed
https://www.screencast.com/t/TagJsncTRb
This would be the code for that, you can modify the pixel values as you wish, then enter the code in Theme panel->Mobile theme->Custom CSS code section

.rev_slider_wrapper {
margin-top:5px!important;
margin-bottom:5px!important;
}

If you want the slider to be full width (no margin left or right) that can be done in the slider settings
https://www.screencast.com/t/KBRtdV3o7y7q
https://www.screencast.com/t/IhIWzEvv
Result – https://www.screencast.com/t/sPIvQk6BdT

The top and bottom margin would be like this if you make the slider full width
https://www.screencast.com/t/866eQxCEh

.forcefullwidth_wrapper_tp_banner {
margin-top:5px!important;
margin-bottom:5px!important;
}

Thanks

nestedscrolls
tagDiv Member

Hello again,

Even though I disabled the Live CSS feature, I still get a validation error from FB. Although the validation errors went down from 3 to 2 — The live css was causing the 3rd error.

Nevertheless, the problematic code is located in 2 lines which are:

1. //jQuery(‘head’).append(‘<style>’ + arr_splits[i] + ‘</style>’);
2. splited_css += “<style>” + formated_str + “</style>”;

Do you have any idea where this code might be located? Here’s the full snippet of the code:

<!-- JS generated by theme -->

<script>
(function() {
var html_jquery_obj = jQuery('html');

if (html_jquery_obj.length && (html_jquery_obj.is('.ie8') || html_jquery_obj.is('.ie9'))) {

var path = 'https://www.magicalrecipesonline.com/wp-content/themes/Newspaper/style.css';

jQuery.get(path, function(data) {

var str_split_separator = '#td_css_split_separator';
var arr_splits = data.split(str_split_separator);
var arr_length = arr_splits.length;

if (arr_length > 1) {

var dir_path = 'https://www.magicalrecipesonline.com/wp-content/themes/Newspaper';
var splited_css = '';

for (var i = 0; i < arr_length; i++) {
if (i > 0) {
arr_splits[i] = str_split_separator + ' ' + arr_splits[i];
}
//jQuery('head').append('<style>' + arr_splits[i] + '</style>');

var formated_str = arr_splits[i].replace(/\surl\(\'(?!data\:)/gi, function regex_function(str) {
return ' url(\'' + dir_path + '/' + str.replace(/url\(\'/gi, '').replace(/^\s+|\s+$/gm, '');
});

splited_css += "<style>" + formated_str + "</style>";
}

var td_theme_css = jQuery('link#td-theme-css');

if (td_theme_css.length) {
td_theme_css.after(splited_css);
}
}
});
}
})();
</script>

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