Search Results for 'css'

Results from the Forum
simchris
tagDiv Member

Wow. 7 seconds is a lifetime ! It might be due to running a proxy? A lot of folks running nginx (we’re running Apache, and then nginx for SOME things not all) seem to run through a proxy, and that might cause the issue. Perhaps check amount of memory allocated to PHP ? I think mine is set to 512MB, with 256M being typically the best lower limit for WP these days. I think you already checked that.

If you can see a noticeable slowdown running that just from the server, two things you might try is a traceroute between the API IP and your DNS, and/or check with your hosting provider to explain the issue. It might be something they have run across before.

Or it could be some weirdo voodoo thing like why my stupid Font Awesome 4 CSS don’t load consistently off Amazon’s CDN, or from the free CDN that also hosts bootstrap. Gave up on that one 🙂

Anonymous
tagDiv Member

@neotrope

Turns out it was the theme. I just set the “is_streched_bg” value (in the td_background.php file) to false in a couple of places I saw it being used, and now the background looks perfect.

http://pastebin.com/v17YPYTa

After trying to set the background size to a 211px * 211px width using CSS (so that it doesn’t stretch across the whole screen and become blurry), I found out the CSS wasn’t working even with a !important tag next to it.

So I just looked through the PHP files to see where the settings file is generating this stretch or no stretch CSS which I didn’t need, and disabled it.

If anyone else has this issue they could do the same thing. Just know that the “Stretch Background” option in the theme customizer will not work.

simchris
tagDiv Member

You should be able to modify the blockquote to look however you wish, using CSS, as we did.

E.g.,

blockquote p {
   font-size:20px !important;  line-height:26px !important;
  text-align: left !important; padding-left:20px;
}
mariosem
Participant
#0

Hello,

how can I style CSS in order to get the native WordPress blockquote just like the tagdiv shortcode quote left? In particular: font in black, no italics, left-justified, font size equal to the content?

Thanks,

Mario

simchris
tagDiv Member

You should be able to modify the blockquote to look however you wish, using CSS, as we did.

E.g.,

blockquote p {
   font-size:20px !important;  line-height:26px !important;
  text-align: left !important; padding-left:20px;
}
  • This reply was modified 12 years by simchris.
dalandau
tagDiv Member

Its also not loading the css from the child theme

/*

Theme Name:     Newspaper Child theme

Theme URI: 		http://themeforest.net/user/tagDiv/portfolio

Description:    Child theme made by tagDiv

Author:         tagDiv

Author URI: 	http://themeforest.net/user/tagDiv/portfolio

Template:       Newspaper                             

Version:        1

*/

@import url("../Newspaper/style.css");

/*  ----------------------------------------------------------------------------

    Your custom style.... here :)

*/

.post .thumb-wrap {
	text-align: center;
	margin-bottom: 5px;
	background-color: #f2f2f2;
	float: right;
	margin-left: 10px;
}

/* responsive portrait tablet */
@media (min-width: 768px) and (max-width: 1018px) {
    .post .entry-thumb {
      width:220px;
    }
}

/* responsive phone */
@media (max-width: 767px) {
    .post .entry-thumb {
      width:120px;
    }
}
Marius
tagDiv Staff

Hi,
@snowwatchGB i mean to give me a link to see the issue, to inspect it. And yes the ADS should be aligned in sidebar as default.

But do not worry, could be fixed via CSS.

Thanks!

Marius
tagDiv Staff

Hi,
You can do that only with CSS

Add this CSS in Theme panel -> Custom CSS

.entry-title > a:hover {
    color: #00BCB0;
}

Thanks!

Radu A
tagDiv Member

hi,
we created wp-booster plugin to have a bigger google pagespeed result, what it duos, is moving the css and javascript files in the footer of the page.

the bad news about wp-booster plugin is that is known to make the theme not function properly, an issue we are still investigate. also is compatible with only a couple of plugins (wp supper cache, Seo by Yost, tagDiv social counter).

my advise is to disable all the plugins but WP Super Cache, tagDiv social counter, contact 7. it should work.

Thanks for you message.
Radu A.

r1kay
Participant
#0

Hi,

Since a couple of days in noticed that my website is very slow when not serving cached pages of when caching is disabled. I’ve narrowed the problem down to a plugin and a custom function in functions.php that make (js) calls to social media api’s to count the amount of social media shares for each post on the website. These two “plugins” result in a very slow website and a slow cached page generation. I’m running on a VPS (with enough resources, it’s little overpowered) with Plesk 11 which uses Nginx as a reverse proxy. Nginx handles all PHP, static files and is configured to work with WP Super Cache to serve compressed cached pages.

The problem I encounter with these two “plugins” is that the generation of dynamic cached pages take more than 20 seconds in some cases, which normally only took less than a second, a couple of seconds at worst. Also, the time to first byte can take up to 6 seconds, instead of the less than 1 second which is normal.

Without caching is disabled, the page will still load very slowly, as if the rendering only starts when those javascripts are handled. I know this isn’t exactly theme related, but i’ve read somewhere in another post that it’s possible to move the plugins javascripts and css to the footer by using the wp-booster plugin.

I now know what causes the problem, but i don’t exactly how. I’m desperate for a solution and hope someone can help me!

Marius
tagDiv Staff

Hi,
Only via CSS, show us your case, to inspect it.

Thanks!

Marius
tagDiv Staff

Hi,
Try this: Add this CSS in Theme panel -> Custom CSS

.wpb_button {
    width: 100% !important;
}

Thanks!

Marius
tagDiv Staff

Hi,
I’m not sure for what is used, delete it if is fine for you. I have a comment line in style.css: google plus oauth iframe used by ff & chrome for this is used.

For comment click replace with : #disqus_thread

http://screencast.com/t/oMaQzF20s

Thanks!

atflaten
tagDiv Member

How do I do this Marius? I want to show the articles shown in mega menu on the frontpage even though I have unique articles enabled.

There must be work around in css or something that I can add?

Best,
Are

Radu A
tagDiv Member

hi,

try chancing the link with :

.popularsidepost a {
  /*css code here*/
} 

Thanks for you message.
Radu A.

Radu A
tagDiv Member

hi,

http://screencast.com/t/0KgJvL0bjgq

Thanks for you message.
Radu A.

Marius
tagDiv Staff

Hi,
You need to change from CSS for some parts.

Try this CSS, add it in Theme panel -> custom CSS

.td_popular_categories {
    font-family: -- your font family --;
}

For recent comments and test widget use this:

.textwidget,
.widget_recent_comments .recentcomments {
    font-family: -- your font family --;
}

Thanks for the message!

Marius
tagDiv Staff

Hi,Use this CSS

.header-logo-wrap img {
    position: relative;
    top: -8px;
}

If you make the logo at 100px height should be aligned without that CSS.

Thanks!

simchris
tagDiv Member

I think you can try

<div class="text-center">

on the div(s) where the code is being inserted in the template(s) …
which is the bootstrap 3 style class (may already be in the style.css, not sure).

You can’t “style” the elements inside the AdSense iframe/text/graphic on the site. You *can* center the location it is placed inside of a div.

raugustox
Participant
#0

Is there any way to add CSS styles to “Custom ad 1”?
For example, centering and margins …

Gee95
Participant
#0

Hello,

I’m using the plugin ‘AJAX Hits Counter + Popular Posts Widget’ to display one popular post on my homepage sidebar, as i’m using a cache plugin as well.

How can i apply the same styles to this code:

<span class="popularsidepost">
  <a href="{permalink}" title="{post_title}">{thumbnail-320x240}{post_title}</a>
</span>

So it looks the same as the other posts (output) on the homepage?

Clear things up: I want the same font and size for the post title, rounded image for the widget also positioning of the text and image (so it doesn’t look any different for any other content on the homepage).

For the rounded image, i’m using the custom CSS (in the theme options):

.wpb_row.row-fluid div.thumb-wrap a img {
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-o-border-radius: 10px;
border-radius: 10px;
}

Thanks 🙂

saggel
tagDiv Member

the problem is the CSS rule in style.css

In line 484 the body > iframe {display: none; } hides the profile modal iframe that Disqus uses to display user profiles.

/* —————————————————————————-
google plus oauth iframe used by ff & chrome
*/

body > iframe {
display: none;
}

can you tell me what serves this command on the theme ? if i delete it, the disqus profile load smoothly.

As to the other problem, “the comment bubble is not a link to lead to the comment section of the post”. can you check it?

Marius
tagDiv Staff

Hi,
Is like that because you don’t have a sufficient size image. In post if you want you can hide that gray box color adding this CSS in theme panel -> Custom CSS

.post .thumb-wrap {
    background-color: #FFFFFF;
}

Also some thumbnails like this one: http://screencast.com/t/laS4P9vYh is not cropped. To test if the cropping works make a new post and add a large featured image and see if the thumbnails is cropped: http://screencast.com/t/efFT0u7z0o and see if the image is full or cropped.

If not could be from your missing GD library on your server or UPLOADS directory to have the right permissions.

Also a solution to scale up the thumbnails that you can try: https://forum.tagdiv.com/topic/unable-to-generate-larger-images-in-3-6/#post-10304

1. You can use unlimited sliders on a page.
2. To show the author to replace with this code
array_merge( get_users('role=author'), get_users('role=administrator') ); that http://screencast.com/t/Nmpl220gtFeu

Thanks for the message!

simchris
tagDiv Member

Just for reference, the code I posted in the PageSpeed sticky topic – which can be added to bottom of functions.php file. Your mileage may vary 🙂

function remove_cssjs_ver( $src ) {
    if( strpos( $src, '?ver=' ) )
        $src = remove_query_arg( 'ver', $src );
    return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
  • This reply was modified 12 years by simchris.
simchris
tagDiv Member

AH! Digg Digg likely had a CSS conflict or a JavaScript element not updated, or which was being inserted into the page but not being enqueued, or one of those funky gremlins. Whew!

I hate that kind of stuff.

One of my friends has a site using JetPack, where the the related stories thing kept giving him “too many connections” errors and printing that in the story box – not very fetching as a related story. Turned out is was conflict with the AddThis “Layers” plugin being used for the slider/sticky sidebar social icons (same idea as Digg Digg). Weird.

That bit of code to “sticky” stuff on left side, on any bootstrap related theme might be a recurring culprit, methinks.

Viewing 25 results - 32,651 through 32,675 (of 33,436 total)