Search Results for 'css'

Results from the Forum
Andrei L.
tagDiv Member

Hi

You can add a specific class on the block from which you want to hide the row, in Visual Composer: http://screencast.com/t/MkIn5STfXU then use it in css to tarket only that specific row like in this example:

@media(max-width: 768px){
.page-id-358569 .custom-css-class .td_block_16 .td-block-row:last-child{
display: none;
}
}

Thanks!

Catalin
tagDiv Staff

Hello gauravkohli,

If you want to change the color text of the News ticker feature, you have to use a bit of CSS code for it. Please try the code below and add it in Theme panel->Custom CSS area.

The code is ->

.td_module_trending_now .td-module-title a {
color:red;
}

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

Hope this helps!

Thank you for the message!

Catalin
tagDiv Staff

Hello Dariob,

If you do not want to show the title of that page, you should try to use a bit of CSS code to hide it. Please try the code below and add it in Theme panel->Custom CSS Area.

The code is ->

.td-page-title {
display:none;
}

Thank you for the message!

Bogdan B.
tagDiv Staff

Hi,
Please provide a link to your website so I can provide a css code that I can test on your site.
Thanks.

simchris
tagDiv Member

( I would start with B above … ! )

also remember any plugins you have setup should be deactivated, caching cleared, etc.

A plugin might be loading stuff over http … but if you set your entire site to https properly. at least your base CSS would be loading correctly.

simchris
tagDiv Member

Well, the CSS and Java in the page helps it load faster by NOT having to load external sources and helps to deal with the above the fold loading, and mobile loading. Some things work better inline than external these days.

In other words, some CSS and JS “inline” loads faster for above the fold (render blocking …) vs waiting for the entire separate file to load, hence why this is now donw, which was crazy talk in olden days.

“Critical CSS” should be loaded with the page itself, then supported elements “later.”

Tricky!

I’ve stopped using some plugins due to the extra CSS crap included and no way to disable, or allow the plugin to “inherent” theme CSS (e.g., <LI> and <UL> stuff).

I also hacked one plugin to remove their CSS and just put it at bottom of the style.css and shazam.

I feel your pain; actually dealing with this right now on another project which is NOT using TagDiv themes due to a long boring story.

I really hate the form scripts which load the FORM CSS on every page and not just the actual FORM page. Requires creating custom page called “form” and then manually putting the CSS for plugin on THAT page vs having stupid if/then on every site page to NOT load it conditionally which is also dumb for resource queries.

AUGH!!!!! (damn kite eating tree!)

  • This reply was modified 10 years by simchris.
  • This reply was modified 10 years by simchris.
Charles Edmunds
tagDiv Member

Thanks for the reply Chris. We’re looking into some of the options you’ve listed. Was just wondering if there was a mode that would clean up the additional “theme specific” JS & CSS that’s entered inside the HTML in addition to the .CSS & .JS files that are loading.

I’m a fan of wordpress really… but I’m really starting to get disgusted by the way each plugin integrates it’s own CSS & JS files without an easy solution to compile data to load one single compile file vs. 20 different individual ones (sorry venting :D)

argosmedia
Participant
#0

It would be very nice to have color options added to the admin fonts panel. Now you can set all kinds of parameters for the fonts, except for the color. Now we have to dive into the CSS and do it manually. If you go through all the effort of creating admin settings for the fonts, why leave something important like the colors out?

simchris
tagDiv Member

I have combined various things and also minified both CSS and JS, and you can see the tools I used to minify manually in my thread on theme optimization in tutorials > DIY > best of forums.

However, note that to “combine” certain things like lightbox, visual composer, etc., you would need to hack the plugin to NOT also enqueue the js and css calls, keep track of what you’re doing and basically “freeze” your setup for awhile for those tools.

You can also quash some things like the emoticons js and other things by disabling that via addition of code to functions.php. And of course, not using things like Jetpack, and turning *off* anything you are not using like slider plugins, etc., sure helps.

Charles Edmunds
Participant
#0

Wondering if anyone has successfully been able to compile all (or most) of the JS & CSS files that appear to be loading with this team. The theme loads a lot of different CSS files and also loads a lot of specific elements into the source code.

I’m looking into some solutions to optimize so can get better load times & performance. An suggestions?

Bogdan B.
tagDiv Staff

Hello,

This will not be an easy task as it will have to be added with css. The mega-menu sub-categories will have to be targeted using a child selector. For example:
http://screencast.com/t/PsP9L9UqNw
If you want to add particular icons for every menu item, you will need to use a code for every single menu item like so:
.menu-item-53 .block-mega-child-cats a:nth-child(4)::before {
content: "\f040";
font: normal normal normal 14px/1 FontAwesome;
margin-right: 5px;
position: relative;
}

The nth child is the number corresponding for every child of the main menu item.
Result: http://screencast.com/t/z4KXnbfhQW
You will also need the menu-item for the main menu to target them. you can get this class with your browser inspector.

I hope this helps.
Thanks.

Catalin
tagDiv Staff

Hello Dhananjay,

If you want to move your author box to be under the post title, you have to change the code according to the single template used by you. For example, if you are using single template 1, you have to edit loop-single-1.php core file like this -> http://screencast.com/t/UF3fz2HCsx2 and then you have to use a bit of CSS code to do the image of the author to be circular.

The code is ->

.author-box-wrap img {
border-radius:50px;
}

the result you should see here -> http://screencast.com/t/6RRTZra1y8

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!

Bogdan B.
tagDiv Staff

Hi,
It is possible by using this custom css:
.td-image-gradient:before{
display:none!important
}

Thanks.

Catalin
tagDiv Staff

Hello mystudent,

Please try the code below and add it in Theme panel->Custom CSS area.

The code is ->

.td-header-menu-wrap {
border-bottom: 1px solid red;
border-top: 1px solid red;
}

The result -> http://screencast.com/t/lkzMJWF7XOSy

Hope this helps!

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!

tripledm
tagDiv Member

another vote for this, it refers to “Default Font” but nowhere can you actually change it other than via CSS file.

geolits
tagDiv Member

Hello,

the problem is that i don’t have the “navigation label” But the “class ccss (Optional) as you can see at the image i attached at the previus message.

Andrei L.
tagDiv Member

Hi

You can use do_shortcode function in loop-single-2.php like here:

<?php echo do_shortcode('block's shortcode'); ?>

To get the shortcode add the block 7 into a blank page then switch in backend editor copy and paste this code: http://screencast.com/t/ij9Sbajz inside do_shortcode function.

Also you will need this code in theme panel > custom code > custom css: http://screencast.com/t/H9G6Yoeocg

.single .td-pb-row .td-pb-row .td-pb-span8{
width: 100%;
}

Hope this help!
Thanks!

  • This reply was modified 10 years by Andrei L..
Bogdan B.
tagDiv Staff

Hello,

You can position it in line with the other elements without problems, but you will not be able to make it square as the other topic suggests. The icon comes from javascript and their server. They do not have square icons. sorry. and you cannot change it with css as it is rendered as an iframe.
For positioning you can use this css:
.td-default-sharing iframe{
position:relative;
left:8px;
top:2px;
}

I hope this helps.
Thanks.

JBH
tagDiv Member

One other question, which css code do i need to hide the comment date/time ?

this one is not correct:

.commentDateTime { display:none !important; }

Thanks (again)

JB

Catalin
tagDiv Staff

Hello Ben7777,

If you want to make your menu to be transparent, you have to use a bit of CSS code for a background-color. Please try the code below and add it in Theme panel->Custom CSS area.

The code is ->

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

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

Thank you for the message!

Bogdan B.
tagDiv Staff

Hello,
It seems that the image slider on the right of the block stretches it’s container over the block. Please check your page in visual composer and check if you have any double row’s or some custom positioning css that might affect the block. You can try to remove the slider and see if the block works and then try to implement it differently.
Let us know how it goes.

Lewis
tagDiv Member

thank you Andrei
the problem now is the css hiding all articles in other block 16

i am using it 3 tiems with 3 articles only

the first block 16 work fine and show me only 5 and that what i need.. but how to avoid hiding others articels?

thank you

Bogdan B.
tagDiv Staff

Hello,

You will need to remove any custom css you might have that affects the title and use both these classes to target both versions of the logo:
.td-header-style-7 .td-header-sp-logo img{}
and
.td-header-style-7 .td-affix .td-header-sp-logo img{}

Thanks.

Catalin
tagDiv Staff

Hello mabrell,

For achieving that, you have to use a bit of CSS. Please try the code below and add it in Theme panel->Custom CSS area. Below I gave you an example for module MX5. You have to implement this code for your modules that you are using in the theme and see how it works on your side. Here you can see the list to the modules used in blocks -> http://screencast.com/t/hd1pe4Mi

The code is ->

.td_module_mx5 .entry-title {
background-color: rgba(77,178,236,.7);
}

Hope this helps!

Thank your for the message!

Bogdan B.
tagDiv Staff

Hi,
In order to remove the no comments text, you will have to disable comments on posts from the theme panel: http://screencast.com/t/Bn9ih8wA
If this also disable your facebook comments, then you can use css to hide the message like so:
.comments{
display:none!important;
}

I hope this helps.
Thanks.

Viewing 25 results - 24,151 through 24,175 (of 33,436 total)