Search Results for 'css'

Results from the Forum
godfatherblog
tagDiv Member

Good afternoon. Tell me please, where can I change to CSS? Namely: style.css?ver=7.7. The problem is that after making changes to CSS, it is not updated by browser users. Changing the version would help me a lot, thank you.

Catalin
tagDiv Staff

Hello pstgibson,

If you want to target only the desktop viewport you should use a media queries for this width. To achieve this, please place the above code in that area from Advanced Custom CSS code here -> https://www.screencast.com/t/MuUJe9O3c

Thanks for the message!

cantonjester
Participant
#0

Hello, my client wants to use the Language Bar Flags plugin. It places a set of country flags directly above the top bar.
I looked at the plugin’s CSS, and discovered that it’s 24 pixels tall.

When I enable the Sticky Header, it gets blocked by the set of country flags when the Sticky Header feature activates, and that’s likely because of the 24 pixels that need to be adjusted in CSS.

Help!

sunnydream
Participant
#0

Hi, Can I add customized CSS style to certain categories? The instruction for Customized CSS from the theme panel stated that the style will be used on all pages, but I only need it for certain categories. What would be the solution? Thanks very much!

sunnydream
Participant
#0

Hi, I’m using super socializer plugin which has no problem to add the social login features to default wordpress login page. However, I really like the design of your login pop out module. If I get help from developer friends to add social login to that module, could you kindly point me to the files to edit? Login.php or register.php, any css files?
Thanks very much!

pstgibson
tagDiv Member

Catalin,
Thanks, it worked.
I want this effect to only apply to desktop only.
Pls assist with the css code.

Thanks.

Simion C.
tagDiv Staff

Hi,

Those are font icons, they are predefined in the theme
https://www.screencast.com/t/Fr9gXo9EArWb
If you want to customize them you could do it with CSS. Like changing the font-size for example, or adding a color
https://www.screencast.com/t/1M9AdVTw9OX

.td-social-pinterest .td-icon-pinterest {
font-size: 20px;
color: yellow;
}

Thanks

Simion C.
tagDiv Staff

Hi,

There is an option to set custom classes for the available text elements
https://www.screencast.com/t/NylXzVWjyxo
You can then create your custom design based on the class set there. Custom CSS entered in the them panel will be saved in the database. It will not be lost when the theme is updated.

Thanks

Simion C.
tagDiv Staff

Hi,

If the mobile theme plugin is active, try a code like this to remove that text
https://www.screencast.com/t/8oAnEBkDA

.td-footer-description span {
display: none;
}

The code must be entered in Theme panel->Mobile theme->Custom CSS section.

Thanks

simchris
tagDiv Member

Check to see if your hosting provider supports ‘mod_pagespeed’ as this can compress the HTML by removing line breaks, comments and extra spaces. Simplest way to do that, if you’re able.

Better to compress the javascript, CSS, first.

You can also manually compress the main theme template you’re using for the post template, as another option.

Edragon
tagDiv Member

Okay, I give up. I can’t figure out what I am doing wrong with TABS.

Tried to add hr/separator there like you see from left side. So they both can have exactly same design. But every time when I try to use margin for separator it disappears. I can play margins for whole tabs or any blocks inside it, but whenever I try it for separator, it disappears. Also tried to play with border bottom for tabs, but it adds that border of course whole tabs bottom.

Also, since I used separator inside tabs, it means that I need to duplicate to all tabs windows. Which is probably another bad idea. So I tried to add hr via css, but it did not end well. Same when I tried to use some td css for titles.

Any ideas?

Also again that green color appeared. Any clue where I can find that green color in newspaper theme panel so I can change it forever and permanently.

  • This reply was modified 8 years by Edragon.
sunnydream
Participant
#0

Hi, sorry, another newbie question. I need to have some special styling on some text blocks such as colored background with padding. I did it with in-line style currently but would love to know that where can I add the CSS style so that elements with the class names will have the same style throughout the site. Also, customized CSS style won’t be wiped out with wordpress or theme update, right? Thanks so much!

Simion C.
tagDiv Staff

Hi,

Each demo has custom design, that is one of the design choices for the demo. It would depend where you want to make this customization, in some cases it could not work properly. The style is not available as a block header, it is made with CSS.
This section of code is responsible
https://www.screencast.com/t/xJgciKdGg6r
https://www.screencast.com/t/u96hgAwLabml
Try it with the default block template selected

.block-title {
text-align: center;
border: none;
margin-bottom: 25px;
}
.block-title span {
background: transparent;
color: #222;
border-width: 1px;
border-style: solid;
border-color: #ff9bd2;
padding: 10px 0 8px 0;
width: 100%;
}

This is the base code, it will apply to all block titles. Make modifications to it how you like.

Thanks

Catalin
tagDiv Staff

Hello pstgibson,

Try to use the following code and place it in Theme panel -> Custom CSS area.

The code is ->

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
float: left;
width: 18%;
margin-left: 1%;
margin-right: 1%;
margin-bottom: 2%;
position: relative;
clear:none;
}

The result is here -> https://www.screencast.com/t/wSqowVvo

Thanks for the message!

arollettson
tagDiv Member

Oops. My enthusiasm was premature, Simion. The CSS you suggest only works when the category-gadgets (to use your example) is included in the page build. Thus, if I select the category ‘category-gadgets’,from my sidebar, a page builds with only ‘category-gadget posts, and the css includes the style classes ‘.single .category-gadgets .(etc) ‘ so the {display:none} works.

But on a more general listing of posts that does not specify the ‘category-gadgets’ category, then {display:none} doesn’t work. (Though it works just fine if I remove ‘category-gadgets’ and my CSS reads .single. author-box-wrap { display:none; }. Which of course turns off all the author boxes and defeats the entire purpose.)

Do You have any other ideas, or are we stuck here?

Regards,

Alan

Simion C.
tagDiv Staff

Hi,

So you want to prevent the dragging of the logo image, from what I understand. There are some solutions in this topic
https://stackoverflow.com/questions/7439042/css-js-to-prevent-dragging-of-ghost-image
Try the CSS method maybe – https://www.screencast.com/t/pbXpV0aFz

.td-header-sp-logo img {
-webkit-user-drag: none;
-khtml-user-drag: none;
-moz-user-drag: none;
-o-user-drag: none;
user-drag: none;
}

Thanks

Catalin
tagDiv Staff

Hello maga0000,

It seems to be a little change in our theme, regarding on theme’s js. Please notice that at the moment, the theme uses the tagdiv_theme.min.js file and in the past, the file used by the theme was tagdiv_theme.js. So, you have two possibilities to make these changes. The first one would be to change the file used by the theme from tagdiv_theme.min.js to tagdiv_theme.js and this change can be done from here -> https://www.screencast.com/t/6spI2VZU and the second one would be to minify the tagdiv_theme.js with such online minification tool and replace it with the theme min js file. (overwrite it). So, if you are using the Cloudflare you should purge all the files because the CSS and Js files are cached. So, after you have made these changes at the theme’s core files you should use the following custom CSS and place it in Theme panel > Custom CSS area.

The code is ->

.td-category-siblings .td-category {
height: auto !important;
}
.td-category-siblings .td-subcat-dropdown {
display: none;
}

Hope this helps and let us know how it goes!

Thanks for the message!

arollettson
tagDiv Member

Hi Simion,
Thanks for your prompt and helpful reply. I can assign a category for my ‘external-pointing’ articles, use custom CSS to switch off the author box for posts with his category, then hopefully I’ll be able to use custom CSS to hide the category header itself in the post (a needless distraction).

Problem solved!

Alan

davidcolq
Participant
#0

Hi,

What css code do I need to remove the borders from a custom table on my homepage betotg[dot]com.

Regards,
Dave

Simion C.
tagDiv Staff

Hi,

You could hide the grid with CSS, only for mobile. Something like this, in the Advanced CSS section of the theme panel
https://www.screencast.com/t/q8ooShGqbE

.td_block_big_grid_3 {
display: none;
}

Thanks

Simion C.
tagDiv Staff

Hi,

If those special posts would be included in a particular category, this would be possible with a simple CSS code. For example I don’t want display the author name and author box for posts in the “Gadgets” category. This would be the simplest solution to remove the author name an author box
https://www.screencast.com/t/4YBv3eHGSbW
https://www.screencast.com/t/tQRV2CsKis85
This is the code used in the example, replace the category name with the one in your case and make some tests to see if it works properly.

.single .category-gadgets .td-post-author-name,
.single .category-gadgets .author-box-wrap {
display:none;
}

Thanks

Simion C.
tagDiv Staff

Hi,

I believe the Woocommerce files can be customized through a child theme. Copy the Woocommerce folder from the main theme, in the child theme folder. Then customize the file shown and comment or remove the line of code mentioned. Make tests and see if everything works properly.
Or maybe use this CSS in the child theme, check if it works proeprly

.archive.woocommerce-page .woocommerce-result-count,
.archive.woocommerce-page .woocommerce-ordering,
.archive.woocommerce-page ul.products,
.archive.woocommerce-page .page-nav {
display: none;
}

Thanks

pstgibson
tagDiv Member

NOTE BEFORE
When I implemented this css code in the theme, the 5th column was created, but with empty space. What should I add to the CSS Code for a product image/category image to show up.
Thanks.

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
float: left;
width: 18%;
margin-left: 1%;
margin-right: 1%;
margin-bottom: 2%;
position: relative;
}

  • This reply was modified 8 years by pstgibson.
pstgibson
tagDiv Member

I was able to make some level of progress with this css code
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
float: left;
width: 18%;
margin-left: 1%;
margin-right: 1%;
margin-bottom: 2%;
position: relative;
}
What is left is for the 5th column image to show up.
See image below.
https://www.screencast.com/t/UV6M7QQItxO

See image links below:

https://www.screencast.com/t/0yvo5KXfvWw
https://www.screencast.com/t/PQwKoWzlvaXW
https://www.screencast.com/t/xPCbHowCI

I appreciate your effort.
Thanks

Bogdan B.
tagDiv Staff

Hi,

It is misleading because you mentioned rows in 2 replies and the main title of this post so I figured rows is what you are after not columns.

Unfortunately there is no simple solution for increasing the column count. Rows can be easily changed but columns are much more complicated. You will have to hire a freelancer to help out as all of the css will have to be rewritten and it takes quite a bit of time and effort to do . Unfortunately we do not have a customization department. We try to help out where we can but we cannot offer any custom work, sorry

Thank you for your understanding.

Viewing 25 results - 16,076 through 16,100 (of 33,436 total)