How to Change the content background?

Posted in: Newsmag
Post count: 18

Hi tagdiv support,
I’d like to change post content background but I couldn’t find any option on Theme panel. There’s only general background. Is there any other way to change it? Thanks.

  • This topic was modified 3 years by varre.
Post count: 35449

Hi hbgktrk,
Unfortunately, Newsmag has only the theme panel settings and the post content background is not one of them, there is only a general option for general background.
What it can be done is to use a custom css:
.single .td-container {
background-color: #e6d6e6;
}

This code will apply only to post content.

or
.single{
background-color: #e6d6e6;
}

Will be applied on background

or
.single, .single .td-container {
background-color: #e6d6e6;
}

Will be for entire background of post

The css needs to be set in the theme panel > custom code> custom css.
Thank you!

Post count: 18

Hi, this worked perfectly and I changed font color to white. But I couldn’t change date and comments color, is there any way like this?

Post count: 18

Ok, I think i fixed it with these css codes:

.single .td-post-date {
color: #bdbdbd;
}

.single .td-icon-comments {
color: #bdbdbd;
}

but I couldn’t fix the comments count I tried this but didn’t work:

.single .td-post-comments {
color: #bdbdbd;
}

RESULT:
bg

  • This reply was modified 3 years by varre.
  • This reply was modified 3 years by varre.
Post count: 35449

Hi,
For comments, please try
.single .td-post-comments a {
color: #bdbdbd;
}

Hope this will help you!

Post count: 18

Hi, thank you for your all help Calin.

I was actually trying to make “dark mode” in my own right but I understand that it needs time so I decided to use Dark Mode plugin but I didn’t like it plus it slows down speed (according to pagespeed & gtmetrix records it goes down 95-90 to 70)

Because of that, I kindly request official Dark Mode from TagDiv devs for the theme. I hope you have guys work on it. Thanks again for everything.

Post count: 18

I also want to use as a default font:

system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;

But on theme panel when I choose “Default font” it changes to “Open Sans” and “Verdana” for the posts.

Post count: 35449

Hi,
The default fonts are loaded in the theme files. If you want to use your own fonts, you can do this by using the custom fonts – https://forum.tagdiv.com/newsmag-using-custom-fonts/
If you want, I can help you change the website color to dark, all I need is a link to the site.
Unfortunately, the dark mode plugin is not ready at the moment, it has been set to “pending” since a few updates back, unfortunately, I don’t know why, sorry.

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newsmag’ is closed to new topics and replies.