Search Results for 'css'

Results from the Forum
rjdtramirez
tagDiv Member

Do we have documentation of css files of newspaper for demos? I’m thinking of CSS files of Newspaper(default) and Black version. If I can identify them, I’ll then create a script to replace a css file. Thank you!

diablo7
tagDiv Member

Bogdan perfect CSS code and the name changed easily, thanks

simchris
tagDiv Member

Theme doesn’t control the tags widget; that is built-in to WordPress. You can use a different tag plugin to do custom types, sizes, CSS format, etc.

If you’re advanced user, you can also cobble together your own element using the WP docs (codex) and drop that into a code box, in theory
https://codex.wordpress.org/Function_Reference/wp_tag_cloud

Or see the plugin section on WordPress.org for the most popular tag plugins for use in sidebar or footer widget area.

eg.

https://wordpress.org/plugins/cool-tag-cloud/

  • This reply was modified 10 years by simchris.
simchris
tagDiv Member

You can alternately use the “Scripts to Footer” plugin (works with Newsmag 3.1), which I use on some sites not running the speed booster plugin. It works pretty well, also. Won’t move the main style.css to footer, but again — I won’t repeat my mantra on “critical CSS loaded in head, then de-enqueue main style.css from head, and put in footer.php file” (which is how I do it … ).

simchris
tagDiv Member

You would need to create two sets of CSS files, then put a javascript toggle (or ajax) to reload page with new CSS and set cookie for preference; there are tutorials on the web from past 20 years on how to do this.

nateb2127
tagDiv Member

Hey thanks for getting back to me! Thank you for the tips on coding, I am no coder I am a journalist and a videographer. I will have a look for the css properties, and I was unaware of the adding shrortcodes to the mobile pages. Thank you for your help!

I also did have a question on site speed, what are all of your recommendations for a heavy traffic site?
I have cloudflare but its off at the moment so I can work on it, I have wpsupercache and a dedicated server.

Thank you!
Nate

alexterceros
tagDiv Member

Alright thank you. Google has said theres a couple isues, before my template change my page rank speed was high now google labels it red. Here What They Said:

Leverage browser caching
Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
Leverage browser caching for the following cacheable resources:
http://nashvillespace.com/…/Newspaper/images/no-thumb/td_100x70.png (expiration not specified)
http://nashvillespace.com/…Newspaper/images/no-thumb/td_218x150.png (expiration not specified)
http://nashvillespace.com/…Newspaper/images/no-thumb/td_324x160.png (expiration not specified)
http://nashvillespace.com/…Newspaper/images/no-thumb/td_324x235.png (expiration not specified)
http://nashvillespace.com/…mes/Newspaper/images/sprite/elements.png (expiration not specified)
http://nashvillespace.com/…ontent/uploads/2016/08/image-100×70.jpeg (expiration not specified)
http://nashvillespace.com/…ntent/uploads/2016/08/image-218×150.jpeg (expiration not specified)
http://nashvillespace.com/wp-content/uploads/2016/08/p4.jpg (expiration not specified)
http://nashvillespace.com/…t/uploads/2016/08/unnamed-2-1-300×99.png (expiration not specified)
http://nashvillespace.com/…t/uploads/2016/08/unnamed-2-2-300×99.png (expiration not specified)
https://cache.btrll.com/default/Pix-1×1.gif (expiration not specified)
https://s3-us-west-2.amazonaws.com/adxtestlogbucket/320x50BW.jpg (expiration not specified)
https://s3.amazonaws.com/playerfiles2/and_big_vd_081916.js (expiration not specified)
https://s3.amazonaws.com/playerfiles2/and_ua.js (expiration not specified)
https://content.jwplatform.com/libraries/o16FtOAn.js (2.5 minutes)
http://1.gravatar.com/avatar/?s=80&d=mm&r=g (5 minutes)
https://c.betrad.com/a/n/322/4311.js (10 minutes)
https://static.doubleclick.net/instream/ad_status.js (15 minutes)
http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js (60 minutes)
https://c.betrad.com/a/4.gif (60 minutes)
https://c.betrad.com/geo/ba.js?d803588 (60 minutes)
https://c.betrad.com/icon/box_19_top-right.png (60 minutes)
https://c.betrad.com/icon/ci.png (60 minutes)
https://c.betrad.com/…d_w=300;ad_h=250;coid=322;nid=4311;cps=1 (60 minutes)
https://c.betrad.com/…ad_w=320;ad_h=50;coid=322;nid=4311;cps=1 (60 minutes)
https://pagead2.googlesyndication.com/pagead/js/lidar.js (60 minutes)
https://pagead2.googlesyndication.com/pagead/osd.js (60 minutes)
http://img.youtube.com/vi/6Viyt2aIOG8/default.jpg (2 hours)
http://img.youtube.com/vi/GN04m25JAO4/default.jpg (2 hours)
http://img.youtube.com/vi/K3oMdYMNOJc/default.jpg (2 hours)
http://img.youtube.com/vi/kAyrz32rEeU/default.jpg (2 hours)
http://img.youtube.com/vi/l5hNAx_wVIE/default.jpg (2 hours)
http://img.youtube.com/vi/lQKetQkUkxY/default.jpg (2 hours)
http://img.youtube.com/vi/nfzvCx9_1fg/default.jpg (2 hours)
http://img.youtube.com/vi/vGlGkdfVLAs/default.jpg (2 hours)
https://www.google-analytics.com/analytics.js (2 hours)
Hide details
Enable compression
Show how to fix
Consider Fixing:
Optimize images
Show how to fix
Reduce server response time
Show how to fix
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Show how to fix
Minify JavaScript
Show how to fix
Minify CSS
Show how to fix
Minify HTML
Show how to fix

nycinsider
tagDiv Member

Nevermind. I took out this:
// disable the plugins if there are incompatible plugins
$active_plugins = get_option(‘active_plugins’);
//print_r($active_plugins);
//die;
foreach ($active_plugins as $active_plugin) {
if (!in_array($active_plugin, $this->allowed_plugins)) {
define(‘TD_SPEED_BOOSTER_INCOMPATIBLE’ , $active_plugin);
return;
}
}

And it completely ruined my CSS and site format. So I guess I can’t use the booster.

Catalin
tagDiv Staff

Hello khabor,

I have checked your website and I inspected the size of your logo. As you can see, your original size for your logo is this -> http://screencast.com/t/h13sxSNams9 Also, I have noticed that you are using the Header Style 9, the template which displays the logo on full width -> Yes, it is correct your logo is displayed on full width but please notice that the size of your logo is too small, like this -> 300*43 px (width=300px and height=43px) and probably that’s why seems so small your logo. The theme does not enlarge your photo because the quality of it will be damaged. The only alternative in this regard would be to change your logo and replace it with another big one. I can give you some CSS for enlarging your logo but this will not bring the expected results.

Try the code below ->

.td-main-logo img {
width: 800px;
height: 115px;
}

The result you should see here -> http://screencast.com/t/rTcNDpmxM

Thanks for your understanding!

Gagandeep
tagDiv Member

Applied.

Result is beautiful !

but tell me the solution for these warning signs :

<b>Css</b> warning Signs

Bogdan B.
tagDiv Staff

Hello,

It seems your code is working to some extent, but some rules are wrong. There is no such thing as position: left;, the line-height: .5; needs a dimension in pixels is the most common use for it, etc. Please do a google search for these css proprieties and see what values these can accept.
The second css selector is wrong as well: blockquote cite What is cite? is it a class? and id? If it;s a class you need to add it with a dot in front or if it;s an id with a # in front.
On the mobile heme you can add shortcodes in the mobile theme editor on pages and insiode the post content for posts. please read this guide: https://forum.tagdiv.com/the-mobile-theme/

I hope this helps.
Thanks

Catalin
tagDiv Staff

Hello DeRothschild,

Unfortunately, our mobile theme has not been designed to be modified from the Theme panel, sorry! Please notice that this plugin has been made to have a simplistic structure just to be more useful to use and very fast. If you want to develop this plugin, you will have to alter the code from the front-page.php core file from this -> http://screencast.com/t/3kKOhca2a Please notice that is not a simple task and if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
All the custom CSS which you want to be applied for your Mobile Theme you should add in this area, here -> http://screencast.com/t/HJtxRLlkoDR If you have a caching plugin, in order to achieve best results, try to clear all of your caches and test it again.

Thanks for your understanding!

Catalin
tagDiv Staff

Hello Boddickerdk,

If you want to change the space between the logo and the menu please try the code below and place it in Theme panel->Cusotm CSS area.

The code is ->

.td-header-style-1 .td-header-sp-logo {
margin-bottom: 10px!important;
}
.td-header-style-1 .td-header-sp-recs, .td-header-style-1 .td-header-sp-logo {
margin-bottom: 10px;
}

The result you should see here -> http://screencast.com/t/uYXxspl6

The code is ->

.sf-menu ul li{
background-color:green!important;
}

The result -> http://screencast.com/t/emQnHXK0xPD

Hope this helps!

Thanks for your understanding!

sjlabar
tagDiv Member

Hello,

It works, i want to customize the pagination code. I want to make it like this http://prntscr.com/cakzb1
I will do the css work, but how to customize the pagination code to add “Next” and “Previous” and 1 of 10

Catalin
tagDiv Staff

Hello tuliss,

Our theme has no RTL support because it has been designed to be used in this layout, sorry!
Unfortunately, we have no plan on implementing it in the near future. Implementing RTL support in our theme will require 2 style.css files and it will add significant “weight” to the theme. Using the RTL mode means that lots of elements have to be adjusted and this thing involves custom work and we cannot provide this at the moment!
Please try to do a simple search of our forum and you will see that our team offers support only for theme related problems and which not require additional customizations. Please check again our support policy here -> https://forum.tagdiv.com/support-policy-2/

Thanks for your understanding!

Bogdan B.
tagDiv Staff

Hello,

Each menu item has it;s own unique id you can see in your browser inspector. You can use that id with css like
so:
.menu-item-9567{
display:none;
}

.logged-in .menu-item-9567{
display:block!important;
}

Simply place the code in the custom css box and change the menu item number with your own.

Thank you!

Catalin
tagDiv Staff

Hello Mark Lee-Falcon,

For your first request, please provide more details what you mean because I do not exactly understand your answer.

For second request, try the code below and place it in Theme panel->Custom CSS area.

The code is ->

.td_module_wrap .entry-title {
text-decoration: underline;
}

The result you should see here -> http://screencast.com/t/bINLVFOKlI

Thanks.

Bogdan B.
tagDiv Staff

Hi,

In order to remove more from author you can use 2 methods:
The css method:
.td_block_related_posts .td-related-right {
display:none;
}

or you can edit the theme files: comment out or delete this part: http://screencast.com/t/Okmq7lxTDzGd

As for the related articles name, you can translate it to what you want it to say from here: http://screencast.com/t/BBhCb4bLvr

Thank you!

Bogdan B.
tagDiv Staff

Hello jan,

The menu items are positioned based on the header style that you use. Please choose another header style that has a centered menu if this is what you are after: https://forum.tagdiv.com/header-styles/
If you want to hide the logo, then simply do not add any instead of adding a logo and removing it with css: http://screencast.com/t/UbSeTh81lB8p The sticky menu can use the mobile logo: http://screencast.com/t/8U08kDtW

Thank you!

Bogdan B.
tagDiv Staff

Hello,
The theme’s modules and blocks will not pick up the colors of the category tags you set in the theme panel. That option is for posts only. The homepage has all of it’s category tags the same color. I cannot provide any solution for this unfortunately. CSS cannot do that. it will have to be done through hard-coding which falls beyond what the theme support can offer you.
Thank you!

Andrei L.
tagDiv Member

HI

The plugin used to generate the playlist breaks theme’s js and the menu is affected. However you can use this css in theme panel > custom code > custom css to make it visible: http://screencast.com/t/MaoIwwTao

Thanks!

Catalin
tagDiv Staff

Hello christinarroot,

These changes can be made only via a bit of CSS code. Please try the code below and place it in Theme panel ->Custom CSS area.

The code is ->

.jetpack_subscription_widget .block-title span {
background-color: green;
color: white;
}
.widget_archive .block-title span {
background-color: green;
color: white;
}
.widget_categories .block-title span {
background-color: green;
color: white;
}

The result you should see here -> http://screencast.com/t/5OijS82X

Thanks for your understanding!

Bogdan B.
tagDiv Staff

Hi,

In order to remove more from author you can use 2 methods:
The css method:
.td_block_related_posts .td-related-right {
display:none;
}

or you can edit the theme files: comment out or delete this part: http://screencast.com/t/Okmq7lxTDzGd

I hope this helps.
Thank you!

nateb2127
Participant
#0

Hello, I love the theme and know that it will greatly help our site.
I have a couple of questions however.

One.
I am trying to change the block quote but it won’t let me through custom css. I got it to change a little bit but for some reason I can’t seem to get it to do anything else such as position and location. Here is the code I am using:

blockquote {
font-family: Times;
font-size: 16px;
font-style: normal;
width: 100%;
line-height: .5;
position: left;
color: #000000;
border-left:1px dashed #c1c1c1;
border-right:1px dashed #c1c1c1;
border-top:1px dashed #c1c1c1;
border-bottom:1px dashed #c1c1c1;
background:#e8e8e8;
margin-top: 3px;
margin-left: 3px;
margin-right: 3px;
margin-bottom: 3px;

}

blockquote cite {
color: #000000;
font-size: 16px;
display: block;
margin-top: 5px;
}

blockquote cite:before {
content: “\2014 \2009”;
}

Two.
We use both Paid Memberships Pro and Theme Your profile.
How can I load shortcodes using the mobile theme?
The login page doesn’t load anything, nor does the sign up or check out page, profile, page, none of it.
I need those pages to work because we have viewers that purchase memberships to our site.

Thank you for your help!
The theme so far is amazing and each update you guys do brings more awesomeness!

Catalin
tagDiv Staff

Hello taddeo,

The author will need a bit of a CSS fix as the CSS got changed a bit in the new update but the author name was not updated for it. So until the next theme version please use this CSS code in the mobile theme’s custom code box:

.td-post-author-name div { display:inline; }

Sorry for the inconvenience.

Viewing 25 results - 21,376 through 21,400 (of 33,436 total)