Search Results for 'css'

Results from the Forum
Jasmin
Participant
#0

Hello,

I am trying to change the color of the text in the ‘text with title’ element and it is not working.The background color changes though. I tried to change the text color via ‘text color’ in the settings but nothing changes. Then I was trying to change it via code.
My text title is h2 and the text below h4. All within the module ‘text with title’ of course.

CSS Code:

.td_mod_wrap h4 {
color: white!important;
font-weight: 500!important;
}

Simion C.
tagDiv Staff

Hi,

You could create CSS code to customize the button as you wish, using the browser inspector
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
For example the button size could be increased, the border color changed, the font size increased like this
https://www.screencast.com/t/m3bBbcGxL
You can modify the code as you wish, then enter it in Theme panel->Custom CSS

.td_ajax_load_more {
padding: 16px 20px;
border: 1px solid #000;
font-size: 15px;
}

It will affect all load more buttons, it can be made specific to a block if needed. Or create different styles per block.

Thanks

Simion C.
tagDiv Staff

Hi,

The category tags can be disabled by modules
https://forum.tagdiv.com/category-tag-on-modulesblocks/
That is a general setting, it will affect all the modules wherever they are, not just the category pages.
You could use CSS to hide the category tags only in category pages, such as this code

.category .td-post-category {
display: none;
}

Thanks

Simion C.
tagDiv Staff

That class you mention is used in some header templates, it is set for the div containing the logo you set in the theme panel, like header style 1 for example
https://www.screencast.com/t/HlChP6QZ7B
Corresponding CSS for it is in the theme stylesheet
https://www.screencast.com/t/86x1PnEDG

Bogdan B.
tagDiv Staff

Yes, you can add it in vc page settings as well in the css part.

Here is the code:

.page-id-17508 .td-main-content{
background-color:lightgreen;
padding-top:15px;
}

Thanks.

Bogdan B.
tagDiv Staff

Hello,

You can use a gallery to show images as you mention. Please use this guide:
https://forum.tagdiv.com/gallery-2/
As for the sign in, you can disable it from the theme panel header section
The author avatar placeholder does not have any setting to disable the placeholder. If The avatar can only be removed completely using a css code. But that will disable the avatar completely, not just the placeholder. As an alternative, you can use gravatar https://codex.wordpress.org/How_to_Use_Gravatars_in_WordPress
or this plugin: https://wordpress.org/plugins/wp-user-avatar/ to replace the placeholders.

Thank you!

Simion C.
tagDiv Staff

Hi,

The functionality is simple, click on the hamburger menu icon and the menu will be displayed. When the mobile plugin is active you can use a different menu (menu items).
This cannot be changed, this is how the theme was created and designed to display on mobile.

The top menu is not displayed on mobile. It could be made to appear with CSS code if absolutely required, but only when the mobile theme plugin is not active. If that is the case, please provide a link to your website and I will try to give you a solution.

Thanks

Simion C.
tagDiv Staff

Block header template 6 was used because it would be easier to customize it like this. You can use a code like this to set a background image of your choosing for it
https://www.screencast.com/t/hb383i2M
This is the code, use the image you wish in it then enter it in Theme panel->Custom CSS

.td_block_template_6 .td-block-title {
text-align: center;
background: url("https://demo.tagdiv.com/newspaper_craft_ideas/wp-content/uploads/2017/03/header-bg.png");
background-repeat: no-repeat;
background-size: auto 100%;
background-position: center center;
}
.td_block_template_6 .td-block-title:before {
display: none;
}

erickafram08
Participant
ERRO AMP - topic
#0

My site is giving error in AMP “The “href” attribute in the “link rel = stylesheet for fonts” tag is set to the “//fonts.googleapis.com/css?family=Merriweather:400,400italic,700,700italic” invalid value.”, I realized it’s because of https, how do I solve this problem?

Greg K
Participant
#0

Hi,

I’d like to add the CSS below that disables scrolling, but I only want it to take effect on one page of my website (the homepage, wamserforallentown.muhlenbergweekly.com) and not other pages on that domain (for example, wamserforallentown.muhlenbergweekly.com/issues). When I add it to the Live CSS, even in the TD Composer of the homepage, it still applies to the rest of the pages across the subdomain.

CSS:
body {
overflow: hidden;
}

Thanks,
Greg

alecaus
Participant
#0

Hello friends
first, thanks for the excellent support distributed by the TagDiv team. I am happy and amazed at the quality and speed of the answers.

Undoubtedly, a TagDiv is the best to produce WordPress templates.

Well, now let’s get into my problem.
I have my site making requests for static files (images, css, javascript) with cookies on all requests.

I would like to make requests for static files without using cookies (free-cookies), and for that I would need to create a subdomain, and even tweak it in the WordPress and database settings.

Well, I’m scared, and I do not want to ruin my site, which I’ve been working on for several months.

Any tutorial or anyone to help me with this step?

My goal is to have a faster, more efficient website and follow good performance practices.

Thank you again
Alexandre

420productions
tagDiv Member

Actually, I do not believe I’m seeing that menu. The most I see is Customize -> Additional CSS from the left-hand sidebar.

420productions
tagDiv Member

So that area is blank.

Let me be a bit more specific.. where can I find this class from the template?

.td-header-sp-logo

It’s in the CSS file and raw HTML between style tags.

Also, assuming this isn’t a plugin, where can I find the code for banner ads that appear right below a featured image in a template?

sanotes
tagDiv Member

7. I know, but it’s important for me. Can you give me the css code to edit the width yourself ?

8. ОК!

9. ОК!

10. Please look again carefully at the indentation at the beginning of the line of code! I re-posted the screenshot.
https://www.dropbox.com/s/g9715zgs696gjb5/first-letter-in-code.jpg

Thanks!

dommi11
Participant
#0

Good day,

I trust you are well. I would like to know if it is possible to swipe to go to the next article on mobile? I am not sure if this theme has that functionality but was just wondering?

I would also like to know how to create 5 columns in the footer. I am not entirely sure to make inner columns and when I tried to make 5 columns with some CSS it displayed vertically down and not next to each other.

Many thanks,
Dom

Simion C.
tagDiv Staff

Hi,

Try a code like this in Theme panel->Custom CSS section

.home .td_block_wrap {
margin-bottom: 0;
}

Most blocks and in this case the hero element have a margin bottom set by default, this code will remove that margin for the hero element in the homepage
https://www.screencast.com/t/z1kwBeBH

Thank you!

Bogdan B.
tagDiv Staff

Hello,

In most cases this happens because of CDN settings or css optimization. Please try to temporary disable the cdn and all optimization. Then test again.

Thank you

Simion C.
tagDiv Staff

Hi,

That is a section of the theme panel, the theme has custom code fields where you can enter code safely and it will be saved in the database. It will not be lost after a theme update
https://www.screencast.com/t/3kp42qxhUqKZ
So if you are looking for the Advanced CSS section it is in the theme panel.

Simion C.
tagDiv Staff

Hi,

Maybe you entered the code in the custom HTML section of the theme panel
https://www.screencast.com/t/LXDgjqSpRS
Please check that section and remove the code or move it in the Custom CSS section if you use it.

Thanks

Simion C.
tagDiv Staff

The issue was related to the news ticker only, there were no issues with space between blocks. I believe an extra paragraph appeared in the news ticker, but it was fixed quickly. So now placing a news ticker in a page will work properly.

7. The theme width is fixed, it is not recommended to change it and there is no general width setting. The post content width is fixed as well, it will be 696px with a sidebar
https://demo.tagdiv.com/newspaper/wordpress-news-magazine-charts-the-most-fashionable-new-york-couples-in-2016/
And the full theme width with no sidebar
https://demo.tagdiv.com/newspaper/td-post-five-things-you-may-have-missed-over-the-weekend-from-the-world-of-business/

8. That is possible, there is a margin and padding set for that module
https://www.screencast.com/t/ZgYl8y9cUl
Those could be reduced with a code like this
https://www.screencast.com/t/GBq3Ndmwm
Or use the values you want in the code, then enter it in Theme panel->Custom CSs

.home .td_module_12 {
padding-bottom: 10px;
margin-bottom: 20px;
}

9. The excerpt text will either be picked automatically, or you can set one manually
https://forum.tagdiv.com/excerpts-introduction/
You can only change the module used for the posts on the whole blog page, not by post. In a static homepage or page you can use any type of block and there are more possibilities
https://forum.tagdiv.com/homepage-how-to-build-and-set-it/

10. Where exactly is this indentation, I cannot find it. I have browser the website but I don’t know what to look for exactly.

Thanks

Edward
tagDiv Member

The theme will style the paragraph containing the category descriptions, by default. At the moment there are no specific options for this, there might be in future updates.
You could style them differently with CSS for example like this, or how you like them to be
https://www.screencast.com/t/9NpLGqKUvEQF

.td-category-description p {
font-family: Merriweather,'Open Sans',arial,sans-serif;
font-style: normal;
color: black;
}

https://forum.tagdiv.com/topic/some-problems-with-my-theme/#post-196975

Also: https://forum.tagdiv.com/topic/reduce-category-font-size/#post-159701

Bogdan B.
tagDiv Staff

You will have to use the css as mentioned in the guide. And have font awesome 4 menus installed so the icon can be provided by the plugin. You will need to find the css codes for the specific network icon if they are present in the fontawesome icons: https://fontawesome.com/v4.7.0/icons/

Thank you!

Bogdan B.
tagDiv Staff

Hello,

Is this what you are after? https://www.screencast.com/t/Jy2UhqgaDADg
If yes, try to add this code on the page css in the tagdiv composer:

https://www.screencast.com/t/Jy2UhqgaDADg

Thanks

Simion C.
tagDiv Staff

Make the change in this file (demo_style.css) no need to do in other files. So changing the color here for example will affect the module titles
https://www.screencast.com/t/0q5Gn2ZU3OO
Or you can remove that code
https://www.screencast.com/t/X6vGjT08pJuy
Then the situations mentioned above will apply, either theme accent color or block individual settings.

Simion C.
tagDiv Staff

Unfortunately there is no such list at the moment, we will try to add more documentation in the future for this and other elements. Basically part of the settings from the Layout, Style and CSS tabs can be customized by viewport.

Only the flex block has a setting for the category tag color, other block do not have such an option at the moment. It could be added later. The category tags in all the other blocks is a default color
https://www.screencast.com/t/aI6Tx9uNhK
While the hover color will be the theme accent color or block title text color if set. You could only chnage the color of them with CSS if needed
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Viewing 25 results - 14,501 through 14,525 (of 33,436 total)