Search Results for 'css'

Results from the Forum
Bogdan B.
tagDiv Staff

Hi,
It seems there is a custom class on that particular ro that contains the word “ad”. Everywhere adblock detects the word ‘ad’ in a css class, it will remove it. This being a class on a row, it removes the entire row. Please edit your block element in visual composer and remove this class: ‘import_video_ad_bg’
You can then add the design options added by this class from the visual composer settings.
Thank you!

Bogdan B.
tagDiv Staff

Hello,

Css can help in this matter. You can assign an extra class to the specific section like so: http://screencast.com/t/lQaF3icRhal
And then simply hide the content using the class you added. In my example I would use this code:
.customtab1{
display:none!important
}

However this will not hiode the tab itself. Only the tab content. If you want to hide the tab as well, then you need to use more advanced css selectors:
It will not require a custom class for this one.
.vc_tta-tabs-list :nth-child(2){
display:none!important
}

This part: ‘nth-child(2)’ represents the number of the tab you want removed.

Thank you!

Bogdan B.
tagDiv Staff

Hi,
You can use css to achieve this result, but you need to leave the color settings to default (grey) otherwise visual composer will make the tabs lose their style and apply the plugin style to them.
You can use this code:
.vc_tta-tabs-list :nth-child(2) a {
background-color:red!important;
}
.vc_tta-tabs-list :nth-child(3) a {
background-color:green!important;
}
.vc_tta-tabs-list :nth-child(4) a {
background-color:blue!important;
}

This was created for an element that has 4 tabs. if you have more or less, then either add another line of code and change the num,ber 4 with 5 from the child selector or simply remove the last part if you have 3 tabs.
result:
http://screencast.com/t/lh0OGwei9K

Thank you!

jafl
tagDiv Member

thank you very much Bogdan
It would be possible to know the CSS to hide the buttons

Catalin
tagDiv Staff

Hello eemskrant,

If you want to quit to the zoom effect for big grid style, you can do that from the panel, like this -> http://screencast.com/t/6I96wLWVF or you can use a bit of CSS code to hide this animation.

The code is ->

.td-hover-1 .td-big-grid-post:hover .td-module-thumb .entry-thumb {
transform: none !important;
-webkit-transform: none !important;
-moz-transform: none !important;
}
}

Thank you for the message!

Catalin
tagDiv Staff

Hello frasercarly89,

I suppose that you want to make your page title being a bit smaller. To do that, you have to use a bit of CSS code. Please try the code below and place it in Theme panel->Custom CSS box.

The code is ->

.td-page-title {
font-size: 20px;
}

Thank you for the message!

Bogdan B.
tagDiv Staff

Hi,
1)The general hover color is defined by the theme accent color you set here: http://screencast.com/t/p3sPIjjxOdH0
If you want to only change the hover of the most popular posts, you need css to do it as there is no setting for individual elements (except for blocks as they have block settings)
You can target the block with css and change the hover for it like so:
.td-footer-wrapper .td_block_7 .td_module_wrap:hover a{
color:red!important
}

2)Please check your theme accent color and change it from blue to the color you want if you have not done so already. If you changed colors with css, make sure the code applies to all elements as only the home element changes color when clicked. Change your css code and use the !important attribute to make sure the css applies.
Thank you!

Catalin
tagDiv Staff

Hello boundary2,

I have tested the code that I gave you in the previous topic and work as properly on your website as you can see here -> http://screencast.com/t/i0zQ7Fm7 Also, I have checked your custom CSS box and I saw that you have a syntax error, like this -> http://screencast.com/t/FpgzHtvC and then the code should work fine.

Hope this helps and let us know how it goes!

Thank you for the message!

Bogdan B.
tagDiv Staff

Hi.
It seems to be working fine at the moment. There is an issue with the classic sharing options http://screencast.com/t/y3gV69mWAm. If they are disabled, the twitter will not open in a pop-up. The solution to this if you want the classic like/tweet buttons at the moment is to simply hide them with css.
Thank you!

Bogdan B.
tagDiv Staff

Hello,

1) You can use this css to remove the bottom padding:
.td_block_big_grid_8{
padding-bottom:0!important;
}

But this will cause the block 1 below the big grid to stick to it so you need to assign an extra class to the row containing block 1 and use css with the class you assign like so:
http://screencast.com/t/iSvCwa5Dj6dX
.customrow1{
padding-top:20px!important;
}

2)You can assign a background color to the rest of the page by editin every row in visual composer lie you did the one with the big grid and assign that color to it.

3)Unfortunately I cannot see the ad at the moment. Please add it back in so I can inspect it and provide the proper code.

Thank you!

Bogdan B.
tagDiv Staff

Hi,
If you change the title colors, then they will lose the dynamic color they will stay the color you set them to.
If you want to have a different color other than the default black, then you need css to assign a different color for certain blocks or post templates. You can use the code I provided above as it will change the titles to white on this template: http://screencast.com/t/vIS7ETGi2
Thank you!

Catalin
tagDiv Staff

Hello masc,

I suppose that you are referring to the background of the grid thumb. To do that you need a bit of CSS code. Please try the code below and place it in Theme panel->Custom CSS area.

The code is ->

.td-grid-style-1 .td-module-thumb a:last-child:before{
background:none;
}

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

If is not what you mean, please provide more details in this regard, so I will be able to provide a more accurate code.

Thank yu for the message!

Andrei L.
tagDiv Member

Hi

1. I’ve checked your homepage and noticed that all posts displayed in module 15 have the Continur button added. Are you trying to add this button also for posts displayed in sidebar?
If this is what you want to achieve then you can add in sidebar a block which have Read More button included. For example you can use block 12 in sidebar do achieve a layout similar with this one: http://screencast.com/t/FS2qz7uclX0
If this is not what you mean please provide more details about what you’re trying to do.

3. Are you referring at more article box: http://screencast.com/t/UzLDPYifxX If you want to hide that box on mobile use this css in theme panel > custom code > custom css:

@media(max-width: 767px){
.td-more-articles-box {
display: none;
}
}

Thanks!

Catalin
tagDiv Staff

Hello Akhil,

I suppose that you want to make your items menu being hyperlinked when you hover over the menu. To do that, you have to use a bit of CSS code. Please try the code below and place it in Theme panel->Custom CSS area.

The code is ->

.sf-menu li:hover, .sf-menu li.sfHover, .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
text-decoration: underline;
color:blue!important;
}

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

If is not what you want to achieve, 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,
please clear your cache after you add the code in the custom css box or check if you closed all css tags in there because the code works on my end as expected: http://screencast.com/t/HvfftqTKq
Thank you!

tanteidee
Participant
#0

Hi!

I’m using Tabs of Visual Composer, in particular 1 tab with 3 sections in a row, now I need to hide the second section without delete it because I need to show it next days without build the content again, how can do this? CSS can help?

Thanks!

yinako
Participant
#0

Hi,

I like to modify the sidebar to have two columns like the screen shot below.

side bar 2 column layout

Can you give me some pointers which module file or css I could modify to achieve this effect, maybe I could modify block 6 layout to do this? also will be possible to have the review score display under the image, I know you could show the stars rating, but like to use the score as well.

Thanks, Regards

am1rnet
Participant
#0

I want to have different background color for every Title of Tabs (tabbed content).., please help, how to write the css code for this?

Tabs titles, multi-colorhttp://www.screencast.com/t/10bGw9o3iP8w

thx,

CreepyRavioli
tagDiv Member

How about Newsmag theme panel – custom code – custom css

.footer-social-wrap {
text-align: center;
}

simchris
tagDiv Member

Hi
it’s better to implement the hooks into the functions.php file vs adding another plugin (my opinion only).

Reason is latency, additional php overhead, and possibility of plugin introducing issues if not updated with new versions of php, wordpress, other plugins, etc.

However, if it works for you, that’s great.

Always best to add your own functions if possible, which is at least how we do it over here.

Any plugin that loads admin only CSS/JS functions on your posts/pages code, is a bad plugin where that should only be hooked into the admin panel and not your posts/pages, btw.

There is a simple function to remove VC from loading on post/pages, which we use, also.

danimian
tagDiv Member

Hello Catalin,
Thanks for your answer. I want to show my text ‘MyText123’ instead of default added text like ‘Fans’. I just tried it to add Code in custom css area of theme panel as .td_social_facebook with content property but its not working. Would you please tell me the best way to implement it?
Best Regards
Adnan

thematanater
tagDiv Member

Thanks for the css, it worked perfectly!

I have a new issue with the background though;

1. I want to remove the gap in the bottum of the “featured posts”. http://www.screencast.com/t/vmjsnwbnc.

2. I want to extend the second color throughout the rest of the website. http://www.screencast.com/t/95Wi3e6bX
All this without effecting the top color (featured posts background) and the white space around the ad.

3. Not sure about this one. If you look under the “featured posts” background, there’s no space between the ad (it’s just a jpeg for now) and the background color. How can I make my ad’s top and bottom padding look like this?;
http://www.screencast.com/t/kRIDp0Fs0dPm

Thank you!

simchris
tagDiv Member

Google got really picky about the render blocking stuff on mobile, so by default it *is* about 20 points lower. That is “normal” unless you do some major hacking to WP.

Once you view my thread and do all you can, the last steps would be a bit complex for average user, which requires

a) unhooking loading Google fonts from the theme, and capturing the CSS from Google and putting that in your style.css file; or for fastest speed replace Google fonts with “web safe” font stack (requires unhooking Google fonts in theme main includes/function file AND search/replace main style.css to optimize fonts used by choosing web-safe font stacks)

b) un-enqueuing the style.css and loading in footer.php; then using criticalCSS generator to put above the fold CSS “inline” in the header.php file.

c) using wp-booster to move all JS to footer

What is “possible” ?

Well, the project I’m working on right now I have

Mobile = 98/100
Desktop = 99/100
UX = 100/100

This is without a caching plugin, using mod_pagespeed, with https, and with photo and user photo (loaded locally, not off gravatar.com)

berchman
tagDiv Member

Hi Bogdan,
I did go through style.css and changed the font stacks but its still giving me the fouc.
I’ve cleared cache, etc. and still see it.

I definitely want to address this issue. Would it be possible for you to take a look?
Let me know if you have any questions.
Thanks!

Catalin
tagDiv Staff

Hello Beldar,

If you want to hide some elements for your mobile mode, you have to use a bit of CSS code to do that. Please notice that exists media query for all devices. In mobile case, you have to use @media (min-width:767px){enter your code} and then you have to place in your custom CSS box. For more information about media query, please consult this link -> http://www.w3schools.com/css/css_rwd_mediaqueries.asp Also, if you check deeper your Theme panel, you will notice that below the custom box you have the advanced CSS field, where you can find the code from what kind of element you want to hide for each device.
You have to try to implement yourself because we cannot provide customization services at the moment, sorry! We also can guide you to the right direction.

Thank you for your understanding!

Viewing 25 results - 23,476 through 23,500 (of 33,436 total)