Search Results for 'css'

Results from the Forum
Stephensonmark
Participant
#0

Hi,

I am having trouble editing a few parts of the “Craft Ideas” demo theme, which i am using as a basis for my blog site.
http://www.mostlybythinking.com

Specifically, The comment number speech bubbles are still yellow, using inspect source i can see that the color # is in .td.module.commands but ive no idea how to change this or where the CSS file even is.

Secondly the read more icon below each post, This blue i believe is a background image but again I can’t seem where to delete this so its just plain text.

Finally. In the sidebar is a “Dont miss” coloumn that isnt populating ive tried to select and delete this in TD composer, But i cant seem to select it, In fact i cant seem to select anything below the “Must Read” row of three icons in order to change the header backgrounds on those.

Many thanks for checking out this post.

Thanks
Mark.

Catalin
tagDiv Staff

Hello meri,

You should use a bit of CSS code in order to change the opacity of this element. Use the code below.

.td_module_mx21 .td-module-thumb a {
opacity:0.6;
}

Hope this helps!

Thanks.

Simion C.
tagDiv Staff

That error is displayed because the code is missing a closing brace
https://www.screencast.com/t/xoJHwGkvTy
https://www.screencast.com/t/ibOFfGgodAw
However that code may not be necessary anymore, try to remove it and check the results. If it is needed, leave it in the theme panel custom CSS section. It will not be lost after a theme update. Nothing from the theme panel will be lost. You can even make backups of the theme panel like this
https://forum.tagdiv.com/import-export-theme-settings/

Regarding the post template modification, if you want to modify theme files without losing the changes, you will have to use a child theme
https://forum.tagdiv.com/the-child-theme-support-tutorial/
Such code modifications cannot be made in the theme panel, only directly in the theme files, or through a child theme. Check the guide, it is mentioned there which files can be modified through it.

Thanks

designr
tagDiv Member

I have managed to set up a page to act as my footer.

1. The page has 1 row in it, but I have noticed that there’s white space both above and below the row–>https://ibb.co/dO79om ..region marked with the X. How can I get rid of this white space and have only the row I have added appear on the footer. I tried adjusting the padding from the row css tab but this does not give me a clean result across all devices.

2. I would also like the social icons to appear formatted exactly as on the footer of your website. But have it appear vertically like on this website–> https://ibb.co/b1ybZR

PS: I tried using the browser inspector but I cant make it work.

3. From the same example, I would also like to know how to add the vertical borders appearing before each column?

Thanks.

Catalin
tagDiv Staff

Hello alan3wang,

Try using the code below and place it in Theme panel -> Custom CSS area.

The code is ->

.td-pb-row .td-pb-span3 {
display:none;
}

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

Thanks.

Catalin
tagDiv Staff

Hello MrKeerthan,

If you want to change the color for your back to top button, notice that you should use a bit of CSS code and place it in Theme panel -> Custom CSS area.

The code is ->

.td-scroll-up{
background-color:red;
}

Thanks.

Simion C.
tagDiv Staff

Hi,

You can upload your own fonts in the theme panel, then set them for the needed elements
https://forum.tagdiv.com/font-customization/
There are options to upload a maximum of three fonts in that section.
Additional fonts could be loaded in other ways if needed
https://css-tricks.com/snippets/css/using-font-face/
A setting to completely remove the google fonts does not exist, this can only be done in the code if needed. This is a similar topic
https://forum.tagdiv.com/topic/remove-google-fonts-2/

Thanks

Simion C.
tagDiv Staff

Hi,

I believe this is what you are looking for – https://www.screencast.com/t/ku1jEvYa
If that is correct enter the code in Theme panel->Custom CSS section

.td-default-sharing .td-social-but-text {
display:none;
}
.td-default-sharing .td-social-sharing-buttons {
background-color:black;
}

You can also change the color of the icons if needed, like this
https://www.screencast.com/t/c4hkFH4Eh

Thanks

Simion C.
tagDiv Staff

Hi,

The top menu is not displayed on mobile by default, it could be made visible if absolutely required, with custom code (only when then mobile theme plugin is not active). It will be the same top menu from desktop, not a different menu.
Regarding the search icon positioning, I could give you a code to make it display for example next to the menu
https://www.screencast.com/t/qyORyGNiR1f1

This is the code used for that, it must be entered in Theme panel->Advanced CSS in the phones section

.header-search-wrap {
left:54px;
right:auto;
}

Or you can move it to the right as you wanted (use the value you want in the code)
https://www.screencast.com/t/6pqX6Way

.header-search-wrap {
right: 60px;
}

These codes must be entered in the location I mentioned above, so they will apply only on mobile.

Thanks

Simion C.
tagDiv Staff

Hi,

The font size on mobile is predefined, it is meant as a limit in case users are setting a higher font size. It will be reduced to 32px or enlarged if it is of a lower size. The limit works both ways.
What you could do is to use a code like this one, to make the font smaller on mobile devices

@media (max-width: 1018px) {
.td-post-header header .entry-title {
font-size: 20px!important;
}}

This code can be entered in Theme panel->Custom CSS section.

Thanks

Simion C.
tagDiv Staff

Hi,

I believe this is somewhat of a misunderstanding. Indeed the default full big grid 8 is not similar to the gadgets demo grid. That is because the custom design the demo uses. Each demo has customization based on default theme elements, this is applied only when the demo is installed.
If you want big grid full 8 to look like in the demo, first select grid style 7 in it’s settings
https://www.screencast.com/t/nVqU9CorWkdr
Then enter this code in Theme panel->Custom CSS (this is the custom design used by the demo)
https://www.screencast.com/t/Ls0yzKUNRD
https://pastebin.com/kMumvZgA
The font and font properties can be changed in the theme panel if needed
https://www.screencast.com/t/v7nAfJhL

Thanks

Simion C.
tagDiv Staff

Hi,

That would be the footer logo, it can be changed or removed in the theme panel
https://www.screencast.com/t/ym3mHWDgmN
For the centering of those element you could use a code like this
https://www.screencast.com/t/nfHFnJgKk

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

It must be entered in Theme panel->Custom CSS section.

Thanks

Eric V
tagDiv Member

This is the ad code Simion. It’s added to single.php file. So when I copy this CSS code in the theme panel, is it also gonna be saved and come back after an update?

Code<div class="adh">
<div class="wpb_raw_code wpb_content_element wpb_raw_html">
<div class="td-g-rec">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Ad boven titel -->
<ins class="adsbygoogle"
style="display:inline-block;width:320px;height:100px"
data-ad-client="ca-pub-6504940155773250"
data-ad-slot="9561713763"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
</div>

Simion C.
tagDiv Staff

Hi,

Indeed there is a issue with the default state of the links. A theme condition is not applying because of an addition to the module titles
https://www.screencast.com/t/atCsGvJ5Pr2C
That span between the heading and link is causing the issue, this theme condition is not applying anymore
https://www.screencast.com/t/goNdG0cP
I could not say where that code originates from, or what it’s purpose is. I could modify the code in the theme to make it aplly in the new situation
https://www.screencast.com/t/BiePiwHRFE7

h3 > span > a{
color: #111111;
}

The code has to be entered in Theme panel->Custom CSS.

Thanks

Catalin
tagDiv Staff

Hello eemskrant,

I have inspected your website and I saw that your hover to your block titles is white. If you want to change this effect, you should use the code below and place it in Theme panel -> Custom CSS area.

.td_module_wrap:hover .entry-title a{
color:black;
}

Thanks for the message!

Mercuriel
tagDiv Member

https://stackoverflow.com/questions/32417663/white-area-on-fixed-background-when-scrolling-on-ios?answertab=active#tab-top

I tried adding ‘transform: translate3d(0,0,0)’ to .backstretch in the custom CSS but that did not help either.

Eric V
tagDiv Member

Ok Simion. Thanks!

I entered the below code in the CSS panel and i get a red error cross saying: Expected RBRACE at line 100, col 4. What is this?

@media (max-width: 767px) {
.td-header-wrap .td-header-menu-wrap-full,
.td-header-wrap .td-header-menu-wrap,
.td-header-wrap .td-header-main-menu {
background-color: #fff !important;
height: 54px !important;
}
.header-search-wrap .td-icon-search {
color: #fff !important;
}

ctoweett
tagDiv Member

To disable author name on homepage and comment count, post this in Newspaper>Theme Panel>Custom Code>Custom CSS on your WordPress Dashboard

.td-post-author-name, .td-module-comments {
display: none;
}

To show a specific number of posts on the homepage, go to WordPress dashboard and click on Settings>Reading and under “Blog pages show at most” box, put the number of posts you want to show on homepage and save.

Note: If you decide to use a custom homepage, some of these settings might change.

Francisco Fernández
tagDiv Member

OK, tank you. I am working in optimizing more my site. But, I have a question for you: how can I disable all the post templates of the theme except the default? I have seen that all the templates are in the CSS, but I am currently using only one…

simchris
tagDiv Member

You can add advertising to AMP, and we do that on some sites; but also we do stuff like use a text based “related posts” plugin to inject related posts via shortcode to footer.

There is super dead simple function for the AMP plugin to ‘inject’ anything into the footer spot without touching AMP template. Trick with ads from Adsense is they need special form of java loading, but tutorials online for that. Loading your own local ads is easy, as an image or text based ad is just basic CSS. We add a text based ad for our services to bottom of the blog posts on our main site for example.

It’s work – but good to learn. We chose to stick with the ‘official’ AMP plugin, as it’s going to be most compatible with WP, not get abandoned, have bad code, etc.

Since our news sites are all news, the AMP plugin doesn’t hurt. Ad revenue is down so much we’re likely going to abandon adsense entirely this year and do local ads again instead (e.g., ‘sponsor this site… $99 per month for run of site…’ kind of thing).

kokorikos
tagDiv Member

Hello again seems that i changed the default color to #ff8800 and still there is the problem :/<b>css</b> file

morebusiness
tagDiv Member

My site sits behind Cloudflare as well. The style sheet does *not* minify completely with their auto-minify option. Very early into the file, cloudflare detects some kind of error and stops minifying. Their tech support says that they stop once they detect any form of error and suggest running the file through a validator. I do not know what “level” of CSS to validate against for their minifier to work, but I haven’t found a validator setting that likes the style.css file.

You can see it failing at https://www.morebusiness.com/wp-content/themes/Newspaper/style.css?ver=8.6

The first screen or two are minified, then it reverts back to the original.

In any case, I have successfully used https://css.github.io/csso/csso.html to minify it. I have my child theme load the minified version directly rather than overwriting the original.

Simion C.
tagDiv Staff

The mobile theme plugin is not required, it is optional to install it. This plugin is intended to be used if you would like to present a different and simpler version of the website
https://forum.tagdiv.com/the-mobile-theme/
So it is up to you whether you want to use it or not. When the mobile plugin is not active the background image can be changed as shown above, and the colors here
https://www.screencast.com/t/ZXq72ZvIEjfp
A setting for setting a color when the menu is sticky does not exist, this could only be done with CSS. Like this
https://www.screencast.com/t/QZD4ylWkngz
This code will make the menu bar have a different color chosen by you, when the menu is sticky. It can be entered in Theme panel->Advanced CSS in the phones section

.td-header-menu-wrap.td-affix .td-header-main-menu{
background-color: red!important;
}

Thanks

Catalin
tagDiv Staff

Hello Prajwal Desai,

2)Please notice that if you want to make some additional customizations to your theme style, all of these should have to be made in Child Theme, style.css to avoid losing all of your customizations to the next theme’s update. For each update, the theme code will be overwritten and that’s why you will lose all of your additional customizations.
3,4)You should try the code below and place it in Theme panel -> Custom CSS area.

The code is ->

.wpb_text_column .td_quote_box{
background-color: red;
}

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

5)Sorry but please notice that we do not have any plan for this feature, sorry!

6)Sorry, but please notice that the theme does not have any such an option that allows you to do this, sorry! The theme does not have any control to this section…you should use such a plugin with this functionality that allows you to manage this section, like Seo Yoast.

Thanks for your understanding!

Simion C.
tagDiv Staff

Hi,

There is a bottom margin below each paragraph, this has a value of 26px
https://www.screencast.com/t/ls9q6uaeCyn
It could be changed with some CSS if needed, a theme option dedicated for this is not available.
This code will modify the margin in every location a paragraph is used

.td-page-content p, .td-post-content p, .wpb_text_column p, .td_block_text_with_title p, .woocommerce #tab-description p, .mce-content-body p {
margin-bottom: 20px;
}

Modify the code with the margin value you want and then enter it in Theme panel->Custom CSS section.

Thanks

Viewing 25 results - 15,151 through 15,175 (of 33,436 total)