Search Results for 'css'

Results from the Forum
Andrei L.
tagDiv Member

Hi

Try this custom css in theme panel > custom css: http://screencast.com/t/P0W3YHvZpweI

.td-ss-main-sidebar .td_block_1 .meta-info .td-post-category{
font-size: 8px;
margin-right: 0;
}
.td-ss-main-sidebar .td_block_1 .td_module_6 .item-details{
margin-left: 115px;
}
.td-ss-main-sidebar .td_block_1 .td-post-date{
margin-right: 0;
}

Thanks!

Bogdan B.
tagDiv Staff

Hi,

It actually depends on the big grid used. For example big grid 7 uses module mx12 with the author and date visible but mx6’s author and date hidden: http://demo.tagdiv.com/newspaper/big-grid-7/
It is a simple CSS code applied to hide them. you can override this code with custom CSS for example in big grid 8 which you mentioned:

.td_block_big_grid_8 .td-small-thumb .td-module-meta-info {
display: block!important;
}

Thank you.

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

Hi

1. The theme does’t have a specific widget for that but you can try a text block from to achieve something similar: http://screencast.com/t/eiwoclWJEiDGhttp://screencast.com/t/P0gaARiRIvSV You can use html code to add images, also you may need some css for layout. Here are some useful information abut css: http://www.w3schools.com/css/default.asp

2. You can use a single image block from VC: http://screencast.com/t/NgKxJO3ij8Uthttp://screencast.com/t/kICbT35jz9w

Let me know how it goes and provide more details if you still need assistance on this!

Thanks!

Bogdan B.
tagDiv Staff

Hello,
Unfortunately, there is no easy way to do this. The simplest way is by using custom CSS by targeting the specific class used by the containers in the specific post. For example: for post template 3 if you use this code it will make the container smaller and bring up the content.

.td-post-template-3 .td-post-header-holder {
max-height: 340px;
}

before: http://screencast.com/t/PzEoJAk8 after: http://screencast.com/t/fA1JNph68z
(You can change that height to your liking).
Different post templates use different containers and you cannot apply a code to all templates. You have to identify the containers on each post template and modify their height.
If you do not manage, we recommend hiring a freelancer to do it for you.
I hope this points you in the right direction.

Thank you.

Andrei L.
tagDiv Member

Hi

Try this custom css to remove the margin below the slider: http://screencast.com/t/kYGW4e6aP0oJ

.flexslider{
margin: 0 0 0!important;
}

Regarding the image size you also can use custom css to re-size it but the slide container will remain by post content width’s which is 640px:

.flexslider .slides img{
width: auto!important;
}

If this is not what you mean please provide more details.

Thanks!

Lucian
tagDiv Staff

Hi,

1. I’ve checked your site and noticed you have it set to 30px now: http://screencast.com/t/wKjerWYGys8O make sure you empty all caches, browser’s also: https://kb.iu.edu/d/ahic if you don’t get the same result and let us know if you still need assistance on this.

2. You have set it to a 14px height: http://screencast.com/t/3bZphdHI remove that custom css to fix the banner: http://screencast.com/t/UeQLfzeXzLi

Thanks for the message!

Lucian
tagDiv Staff

Hi,

Yes, theme’s ads system doesn’t handle dfp ads so using on/off settings will not work however you could try to use your dfp ad codes using a plugin and place them to theme’s spots using shortcodes or try to add them directly into theme’s spots in panel and use the below css in theme panel > custom css section and theme’s ad settings: http://screencast.com/t/PLzq945giwr then check again.

@media (max-width: 1018px) and (min-width: 768px) { 
.td-rec-hide-on-tp  {
display: none;
}
}

@media (max-width: 767px){
.td-rec-hide-on-p {
display: none;
}
}

@media (max-width: 1140px) and (min-width: 1019px) {
.td-rec-hide-on-tl {
display: none;
}
}

@media (min-width: 1140px) {
.td-rec-hide-on-m {
display: none;
}
}

Hope this helps!

Thanks

  • This reply was modified 10 years by Lucian.
  • This reply was modified 10 years by Lucian.
Lucian
tagDiv Staff

Hi,

It happens because theme’s blocks an modules have padding and/or margins added, that’s how they were designed, so when you add a separator using VC page builder it will be added below/after blocks or other page builder elements and just above the next near element, looking like in your case. You could add some margin at the bottom of every vc separator which will take you closer of your desired result but you’dd also have to reduce theme’s blocks padding and/or margin to obtain a fine looking design and not increasing too much the space between elements. Here is an example: http://screencast.com/t/5g9ocs6igsvuhttp://screencast.com/t/PJHrF2i25

Use a custom css like this one and build your on it (using .home will apply it just on your homepage): http://screencast.com/t/O1my4ZuiD

.home .vc_row .vc_separator {
margin-bottom: 30px !important
}

.home .vc_row .td_block_wrap {
padding-bottom: 0px;
}

Hope this helps! Let us know how it goes!

Thanks

Bogdan B.
tagDiv Staff

Hello manoj.yadav,

Our theme uses the default WordPress comment system just styled different.
Email is required for posts to operate. You can hide the fields you mentioned using CSS but email will still be required to post.
If you want these modifications you have to alter them either in the code or use a plugin.

Thank you.

Green Monkey
Participant
#0

Hello, I’ve just purchased. I’m asking if it is possible to create a double side bar by using the Visual Composer Widget Sidebar, by anyone here on Newspaper forum. I’m an Online Adsense, Advertsing & Publishing Broker. I work alongside with Open X, Revcontent, Svorn, Taboola etc. I will be injecting a big investment into our Advertising Campaigns for Quarter 4 – Oct to January.

I need to be able to create an Ad Layout with Double Side Bar

1. 160×600 Banner on the Left as a Left Side Bar

2. 728×90 Banner

3. 300×600 Banner on the Main Right Side Bar.

I’m currently using a Theme that cannot support any modifications for Responsive Layouts from Desktop to Mobile because the 728×90 Banner doesn’t fit onto Mobile.

This is a screen shot of the last Theme I used named X Theme http://prntscr.com/8g3x8x.

However, there latest VC update had a conflict with their Theme. Which put our UX for mobile out of whack! All coding is no longer relevant until they sorted out the bug. I know Visual Composer has 5/6 + 1/6 but I need the 1/6 on the Left Side Bar not the right.

I reversed the 5/6+1/6 Columns around http://prntscr.com/8gw1l0 to give me Left Side Bar widget that for 160×600. Center Column 728×90. Main Right Side Bar 300×600.

Before I add CSS code. Is it possible to adjust the margins to full-width without Mobile Responsive being compromised?

As the right side bar is most effect for Banners of 300×600 + 300×250. I seriously need a Theme that has multiple template layouts but I need one that has a double sidebar to maximise Adsense/Ad Networking/Online Advertising and Publishing.

Emil G, http://prntscr.com/8gvt4m did say to hire a Programmer from Envato but I have had no replies, yet. I’m in desperate mode as our first campaign for Advertising is the 25th of September. I have tried Fiverr and Freelance with replies. But, I really don’t trust the work ethic from those two platforms. I can’t afford a huge budget to have a Template created.

I have the containers and I can increase the width

Width:

.td-container {
width: 1400px;
margin-right: auto;
margin-left: auto;
}

Left Side Bar wpb_column vc_column_container td-pb-span2

Center wpb_column vc_column_container td-pb-span10

Main Right Side Bar…? I’ve been trying to figure how to bring the right side bar down flush with the Left Side Bar and the Center Side Bar Columns. I’ve tired Top: -20px and Margin-Top: -20px as an example but it doesn’t seem to be moving.

Any guidance or help will be greatly appreciated.

Thanks.

Bogdan B.
tagDiv Staff

Hello Atreaer

The author and date from those particular modules were hidden deliberately for aesthetic reasons.
You can adjust the author and date from the mx6 module using this custom css:

.td_module_mx6 .td-post-author-name {
left: -5px;
}
.td_module_mx6 .td-post-author-name span {
margin: 0 -3px 0 2px;
}

Thank you.

Bogdan B.
tagDiv Staff

Gadget Friendly

The search icon can be removed completely by commenting this line here:
http://screencast.com/t/E31WRg3VeXMr
As for the menu, i see you figured it out already :). It’s CSS related. Just inspect the elements with your browser’s inspector.

Thanks.

webmeister Bud
tagDiv Member

Thanks again for your time, Andrei. After much playing around, I have achieved success!

Not by following your instructions exactly, but they certainly set me on the right track.

I only had to add code to td_module.php and td_module_single_base.php. Changes to the post templates and custom CSS didn’t seem to make a difference.

Please see here for how I did it: http://www.theq.fm/0005-tagdiv-hide-author-date-code-PARENT.png

I am, however, still not successfully affecting change by using the child theme. I duplicated the directory structure, copied files from the parent theme, and modified them in the child theme, but saw no change. Only when I modified the parent theme’s files did things happen.

Perhaps, is there something I’m missing? Please see: http://www.theq.fm/0006-tagdiv-hide-author-date-code-CHILD.png . . . on the left is the theme, on the right is the child theme. I’ve triple-checked that the naming convention and directory structure is correct.

Finally, to confirm, the child theme is the one which is active, yes? http://www.theq.fm/0007-tagdiv-themes.png

Thanks again for your time with hiding the author/date. If I can get the child theme working properly, I’ll be set.

=)

Alin [tagDiv]
tagDiv Staff

Hi,

Please try this custom css in Theme Panel > Custom Css for mobile device – http://screencast.com/t/KH3RKTjyiI

@media(max-width: 767px) {
body #td-outer-wrap .td-main-content .products li {
  width: 32% !important;
  float: left !important;
  clear: none !important;
  margin-left: 2%;
}
body #td-outer-wrap .td-main-content .products li.first {
  clear: left !important;
  margin-left: 0;
}
}

Thanks!

Bogdan B.
tagDiv Staff

Hello Dan,

I checked your website and saw the overlapping results boxes. You can hide the default one (if this is what you want) using a custom CSS:

.td-aj-search-results, .result-msg{
display:none;
}

Just add it to the theme panel:http://screencast.com/t/WU20kh50
If you want it restored in the future, just delete the code and it will be displayed again.

Thank you.

Alin [tagDiv]
tagDiv Staff

Hi,

1. Here you can find the code if you want to modify it – http://screencast.com/t/irz4qdDIuOac Please note that if you want to do this only for specific spots you will have to add some conditions there.
2. Unfortunately this can be caused by Speed Booster plugin which move the css and js at the bottom of the page structure so that the page will load faster, this is why the theme default color appears first then changes, because of the cascading property of css. A solution is to change the color directly into css stylesheet file.
3. You can try to copy the style.css into the child theme and renamed to style2.csshttp://screencast.com/t/AeKOlI8Y Then comment this line in child theme functions file and add the following code like this – http://screencast.com/t/EaXMLvWJof2

wp_enqueue_style('td-theme', get_stylesheet_directory_uri() . '/style2.css', '', '6.1c', 'all' );
    wp_enqueue_style('td-theme-child', get_stylesheet_directory_uri() . '/style.css', array('td-theme'), '6.1c', 'all' );

Also please complete the font path with ../Newspaper/http://screencast.com/t/BfolEMBg31FR

Thanks!

Bogdan B.
tagDiv Staff

Hello Paul,

I made this custom CSS that should fix your problem.

.td-header-style-3 .td-container, .td-header-style-3 .td-header-sp-recs {
width:100%;
}
.td-header-style-3 .td-header-sp-recs{
margin:0px;
}
.td-header-style-3 .td-header-sp-recs img {
position:relative;
}
@media (max-width: 767px){.td-header-style-3 .td-header-sp-recs img{
margin:0!important;
}
}

Thank you.

Bogdan B.
tagDiv Staff

Hello manoj.yadav,
I made a custom CSS for your top menu for a start

.td-header-top-menu-full .sub-menu {
max-height:200px;
overflow: auto;
}

But for the main menu you need to target the specific sub-menu, because CSS needs precise targeting on the specific sub-menu you create, otherwise the whole thing collapses.
You can use the browser inspector tool to target that specific sub-menu classes used in the sub-menus you create and then add the max-height and overflow proprieties.
Thank you.

Andrei L.
tagDiv Member

Hi

You can deactivate the Speed Plugin but the custom css will still be loaded in page’s header. If you added your custom css in style.css file, to avoid its duplication you can remove all custom modification made in theme panel, so the custom css will not be generated, but your custom modification are still loaded from style.css file. The theme generate custom css for every modification made in theme panel even if the same code is present in main style file, it works like that.

Thanks!

Kevin
tagDiv Member

Hi again,

I have managed to get 3 products per row using the advice from this thread:

https://forum.tagdiv.com/topic/woocommerce-layout/

I also adjusted the custom css to correct the sizes and added to the “advanced css” section in the theme options.

I am not 100% sure if this is correct and I am also missing the css for the last section for “Phones”

Can you give any advice on what the css should be for the “Phone” section?

Thanks

Kevin

Andrei L.
tagDiv Member

Hi

That the image fit the entire thumb must be at least by thumb’s size, because WordPress won’t enlarge the images, only crops them. For the indicated post you can use this custom css in theme panel > custom css: http://screencast.com/t/vpWaWt9XLEi7

.postid-6805 .td-post-featured-image img{
width: 100%;
height: 580px;
}

Let me know how it goes and provide more details if this is not what you mean.

Thanks!

Bogdan B.
tagDiv Staff

Hello Gadget Friendly,

The header files can be found here: http://screencast.com/t/QPJoVVXVFdYP
There is another way to hide the search widget in the top menu, by using CSS:

.td-header-main-menu .td-search-form-widget{
display:none
}

Hope this helps
Thank you.

Andrei L.
tagDiv Member

Hi

You can add the css either in custom css box or in child theme, the way its applied is the same, meaning the theme css will be overwritten .

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Yes, you can add a hex value, I was hurry up and it is more fast for me to write red.
You will have to use custom css even for the item color – http://screencast.com/t/V7Hhe7AHIv

.menu-item-xxx a {
color: #AD2929 !important;
}

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Please check this custom css in Theme Panel > Custom Csshttp://screencast.com/t/tTnoAaaup

.home .td-next-prev-wrap {
float: right;
}
.home .td-next-prev-wrap .td-ajax-prev-page, .td-next-prev-wrap .td-ajax-next-page {
border-color: #3E3838;
}

Thanks!

Viewing 25 results - 26,726 through 26,750 (of 33,436 total)