Search Results for 'css'

Results from the Forum
Catalin
tagDiv Staff

Hi mboydnv,

Please try the code below and place it in Theme panel->Custom Css area, like this: http://screencast.com/t/oTNuYm7Gl

.td-footer-wrapper .td-icon-facebook {
background-color: #3b5998;
border-radius:20px;
}
.td-footer-wrapper .td-icon-flickr {
background-color: #ff0084;
border-radius:20px;
}
.td-footer-wrapper .td-icon-googleplus {
background-color: #dd4b39;
border-radius:20px;
}
.td-footer-wrapper .td-icon-instagram {
background-color: #517fa4;
border-radius:20px;
}
.td-footer-wrapper .td-icon-pinterest {
background-color: #cb2027;
border-radius:20px;
}
.td-footer-wrapper .td-icon-twitter {
background-color: #00aced;
border-radius:20px;
}
.td-footer-wrapper .td-icon-youtube {
background-color: #bb0000;
border-radius:20px;
}

The result you should see, here: http://screencast.com/t/PdwkooGQc84
With border-radius condition, your social icons corner will be a circle. You can adjust this value as you wish.

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

Thanks!

Bogdan B.
tagDiv Staff

Hello,

The category tags on modules/blocks cannot be colored from the theme panel. This was a design choice to avoid too many colors on the front page. It can be done with css as Alin suggested above:
http://screencast.com/t/VOkPxAWbnJe
.td_module_wrap .td-post-category {
background-color: #BB391B;
}

Alternatively you can select block color to differentiate a specific category by color as our home page is set up: http://demo.tagdiv.com/newspaper/ same block type, different category, different color. You can do this from block settings in visual composer. You can also use the ajax filter to select sub-categories to display

I hope this helps
Thank you.

Andrei L.
tagDiv Member

Hi

The less files are used only for development purpose and the changes made there don’t applies on the site. Also a part of the css for woocommerce is in style-woocommerce.css I’ve noticed that you’re some minify tool for css, which load all css from main css file of the theme, style.css, on the page instead of loading the file itself. The style.css contains a huge part of woocommerce style, that’s why that code appear on the page. If you want to remove a particular part of css code you need to edit the style.css file and delete that part manually.
Hope this help.

Thanks!

Catalin
tagDiv Staff

Hi Arafat,

Please try the code below and your Trending Now is hidden on desktop. Place the code in Theme panel->Custom Css area, like this: http://screencast.com/t/kkuGPBpB92JS

@media (min-width:767px){
.td-trending-now-wrapper {
display:none;
}
}

The result you should see here: http://screencast.com/t/WQTXfm55bG

Thank you!

Bogdan B.
tagDiv Staff

Hello,
The general link color is affected by the theme accent color: http://screencast.com/t/XyefDrYX3
If you want this color to be different for a specific URL, you can only target it with css but we will need more details to which one you plan to customize.
Thank you!

Catalin
tagDiv Staff

Hi servedaily,

Yes, it is possible to display an image in that gray box. You can set this within Theme panel, as background image, like that: http://screencast.com/t/AtlvgnQib and the image will be the full background of the page. In this category style, header container are transparent and practically in this container you can see the background image. http://screencast.com/t/6x3ZUf4ZrQo

Also, another possibility for you, would be to use a bit of Css to make some customization. Please try the code below in your Theme panel->Custom Css area to fix the problem, like this: http://screencast.com/t/gtGlwFvufE

.td-category-header.td-image-gradient-style8 {
background-image: url('enter your URL image');
background-repeat: no-repeat;
}

Note: If you want to follow the above option, please use a background color/image (white color for example).

Every category has an custom class set to it. You can get this class by inspecting the category page with your browser inspector: http://screencast.com/t/5uS8nYlTc6u
For example mine is category 66. So i would add this to the beginning of the code like so:

.category-66 .td-category-header.td-image-gradient-style8 {
background-image: url('https://upload.wikimedia.org/wikipedia/commons/b/b5/Winnersh_Meadows_Trees.jpg');
background-repeat: no-repeat;
}

Now the code will only apply to that specific category. So if you need to use the code for another category you can simply copy and paste it and change the category number and the image.

To achieve custom headers for each category is not a simply task and this things are required custom work. You can use another category_top_posts_style (1,2,3,4,5,7) for each category you have and it is necessary to create some function in php and shortcode in order to works fine. http://screencast.com/t/0DIS3Bzfxi

This is a complex task which requires lots of customization and if you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you as we can’t offer customization services at the moment.

Hope this helps!

Thank you for your understanding!

Bogdan B.
tagDiv Staff

Hi,
You can use this custom css to do it:

#wpadminbar .ab-top-secondary{
float:left!important;
}
.wp-admin-bar-root-default{
float:left!important:
}
.quicklinks{
display: table;
margin-left: auto!important;
margin-right: auto!important;
}

Thanks.

Andrei L.
tagDiv Member

Hi

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

@media (max-width: 768px){.td-main-menu-logo img {
position: absolute!important;
margin: auto!important;
}
.td-header-border:before{
height: 0!important;
}
}

Let me know how it goes.
Thanks!

Andrei L.
tagDiv Member
Menu - reply

Hi

You can do it via css but is not a very efficient way as you need to add postid-x class for each post from which you want to remove the header. The images don’t appear because js call a class which was in header and because it can not find it, it generate an error. Please make sure that you don’t have the sticky menu activated: http://screencast.com/t/ZHgU2CjgJe and if the problem persist also disable the lazy load animation: http://screencast.com/t/UTgWnKWhaoj

Thanks!

Catalin
tagDiv Staff

Hi Andy,

Unfortunately, to hide the counter you have to modify the td_social_counter plugin file, because it is not possible to use only Css. Please open your social counter core file and comment/delete this part of code, like this: http://screencast.com/t/isjpkeHcGTmIhttp://screencast.com/t/gvgypKQI

The result you should see here: http://screencast.com/t/XdD0MvGtncH

Hope this helps and let us know how it goes!

Thank you!

doucare1971
tagDiv Member

Just read you last post awtown about child theme being updated but it does not need to be. It is the theme that needs the update, not the child theme. Child theme is the same every theme update. Consists of functions.php and the css file.

If you are using the child theme then do the ftp overwriting the old theme with newer version way. You don’t have to delete the theme at all just unzip the new folder package and unzip theme folder and make sure you just upload the unzipped folder of the name with all the files of theme right over the older one on your server. It will just overwrite what is on your server.

Really, it is that easy. You don’t even have to deactivate the child theme this way either.

TheMediumUTM
tagDiv Member

If you mean for tags, I believe it’s the “theme accent color” by default. If you want to customize it, use some custom CSS in that part of the theme panel:

a {
color: #.......;
}

With specific selectors for post content, for example, and for when you hover.

If you’re not familiar with CSS, this will be harder, but the tagDiv team usually seems to be willing to supply a little in cases like this.

But if you don’t mean the tags at all, I’m as lost as Chris. 🙂 Maybe the colours your browser applies in the address bar, e.g. green for verified https?

elliottagain
Participant
#0

There is a URL shown in page source code that returns a page with below error message. This shows as error in Google Search Console as crawlable URL without a 404.

Fatal error: Call to undefined function get_header() in /home/*****/public_html/*****/wp-content/themes/Newspaper/index.php on line 6

(function(){
var html_jquery_obj = jQuery(‘html’);

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

var path = ‘http://*****/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 = ‘http://*****/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);
}
}
});
}
})();

mboydnv
tagDiv Member

I gave it a try and only got the facebook icon to work, do i not have the right id names? is my css correct?

.td-footer-wrapper .td-icon-facebook {
background-color: #3b5998;
}
.td-footer-wrapper .td-icon-font td-icon-flickr {
background-color: #ff0084;
}
.td-footer-wrapper .td-icon-font td-icon-googleplus {
background-color: #dd4b39;
}
.td-footer-wrapper .td-icon-font td-icon-instagram {
background-color: #517fa4;
}
.td-footer-wrapper .td-icon-font td-icon-pinterest {
background-color: #cb2027;
}
.td-footer-wrapper .td-icon-font td-icon-twitter {
background-color: #00aced;
}
.td-footer-wrapper .td-icon-font td-icon-youtube {
background-color: #bb0000;
}

CSS definitions for more icons at: http://ksloan.net/css-color-definitions-for-font-awesome-social-icons/

simchris
tagDiv Member

In older version there used to be a “require once” in the main style.css and/or main functions file inside the booster folder in theme. No idea where that is now.

In an earlier version I was able to simply remove the require once statements to just not load that stuff at all.

Sadly, I have not had a chance to revisit that on latest version.

TagDiv back on Monday.

glocc
Participant
#0

Hello!

How can I change and customize BuddyPress fields on register page: http://gipgap.ru/registration/ ?

I need to change position of all fields and add some css classes to it.

I create custom page and put full code from /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php , but it not validate and register didn’t work: http://gipgap.ru/register/

JanuszJasinski
Participant
#0

URL: http://www.virtualfestivals.com/

Hi,

I’ve tried everything I can think of to get rid of the woocommerce and bbpress CSS in this age but for the life of me, I can not. In addition, why is it inline and not in a specific file? Please could someone help me.

style-woocommrce.css is blank, I’ve removed the lines from main.less as per http://screencast.com/t/t3rtWciT0TZe but it is still showing. I downloaded the theme and I can’t find that code anywhere but it still appears

Many thanks

mauricem
Participant
#0

I need the dropdown submenu (Recipes)(http://survivingfood.com/images/dropdown-menu.PNG) color to be the same color (dark grey) as the main menu with white text. I would like the hover background color to be the same grey and the text green on the hover like the main menu. I would like to accomplish this with the mega-menus staying the same as they currently are. (Current)(http://survivingfood.com/images/mega-menu.PNG)

The main blog url is http://survivingfood.com/blog

I am fully aware of that this needs to be done with Custom CSS but I have spent alot of time on it and I can’t seem to get it.

Any help would be greatly appreciated.
Thanks,
Maurice

cityslicker444
tagDiv Member

Andrei, thanks for this, but do you happen to have an estimate as to when it might be fixed? Or perhaps you have a temporary fix (like some custom CSS) that might help me until the update? Thanks so much!

Andy
Participant
#0

Hi,

I would like to place some social media buttons, but without de counter (. Could I use the social counter with a custom css code?

Thx!

Healthills
tagDiv Member
Menu - reply

Hi, it works, but can I do the same thing with css? because my images don’t work.
Thanks

Bogdan B.
tagDiv Staff

Hello,

The comment section can only be targeted with css:

#reply-title{
font-family:MY CUSTOM FONT!important;
}
.logged-in-as{
font-family:MY CUSTOM FONT!important;
}
#commentform input[type=text],
#commentform input[type=url],
#commentform input[type=tel],
#commentform input[type=email],
#commentform textarea{
font-family:MY CUSTOM FONT!important;
}
.form-submit input[type=submit] {
font-family: MY CUSTOM FONT!important;
}

Use this code in the theme panel->custom css box and add the font you want to use to it.
I hope this helps.
Thank you!

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

Hi Edward,

Please try the code below in Theme panel->Custom Css area.

.td-footer-wrapper .td-animation-stack:hover a{
color:#a8a8a8!important;
}
.td-footer-wrapper .td_block_popular_categories a:hover{
color:#a8a8a8!important;
}

Thank you!

Catalin
tagDiv Staff

Hi globalmediacompl,

You can try the Css below in Theme panel. With this code you can improve the main menu display but, unfortunately, there is not complete justified as you wish.

This is a complex task which requires lots of customization and if you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you as we can’t offer customization services at the moment.

.td-header-style-10 .td-header-main-menu {
padding-left: 0!important;
padding-right: 0!important;
}
.td-header-style-10 .sf-menu > li > a {
padding:0px 25px!important;
}

Hope this helps!

Thank you for your understanding!

Bogdan B.
tagDiv Staff

Hello,

Unfortunately the theme does not have such an option at this moment. The only method to do it is hard-coding it. CSS is not very hard to figure out. It is better than the alternative which involves altering the PHP files and adding conditionals to td_category_template.php.
You can use css without altering core files and you can have control over it from the theme panel which is a big plus.
You can set the code Catalin gave you to apply to a specific category only. Every category has an custom class set to it. You can get this class by inspecting the category page with your browser inspector: http://screencast.com/t/5uS8nYlTc6u
For example mine is category 66. So i would add this to the beginning of the code like so:
.category-66 .td-category-header.td-image-gradient-style8 {
background-image: url('https://upload.wikimedia.org/wikipedia/commons/b/b5/Winnersh_Meadows_Trees.jpg');
background-repeat: no-repeat;
}

Now the code will only apply to that specific category. So if you need to use the code for another category you can simply copy and paste it and change the category number and the image.
I hope this helps.

Thank you!

Viewing 25 results - 25,701 through 25,725 (of 33,436 total)