diogorighi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Background image problems on resize, iphone/ipadI had the same problem (#2), cause I was using a big background. I solve this problem just putting this tag:
<meta name=”viewport” content=”width=960px”>
My site is 960px wide, so I set it and it works.
Forum: Themes and Templates
In reply to: Header SpacingThere’s an empty tag inside the header, with the id “site-description”. You can remove it.
Then, go to your css, look for #site-title and change the margin to 0;
Forum: Themes and Templates
In reply to: Bueno Theme – remove border on images in postsmaybe another css rule is overwriting this one. I don’t recommend, but you can fix it adding !important at the end.
.entry img { border: none!important; }
Forum: Themes and Templates
In reply to: Picture File problem in Bluehost with agency themeYes. Click on CODE, than paste your code and lick CODE again.
Forum: Themes and Templates
In reply to: Twentyeleven – font rendered different in IE and FirefoxI don’t think so. I think it’s just a rendering issue.
Forum: Themes and Templates
In reply to: Twentyeleven – font rendered different in IE and FirefoxYou’re right. But the font is the same. Here on my pc doesn’t have any difference.
It’s just the way the browsers renders the fonts. Or maybe it’s zoomer. Try pressing ctrl+0 on firefox.
Forum: Themes and Templates
In reply to: [Dodo] Dodo theme: possible W3C validation correctionIt’s just because the XHTML validator do not support the target=”_blank” anymore. If you remove it, it will open the link in the same window.
If you want to validate AND open in another window, you can use javascript:
window.onload = function() { var links = document.getElementsByTagName('a'); for (var i=0;i < links.length;i++) { if (links[i].className == 'new-window') { links[i].onclick = function() { window.open(this.href); return false; }; } } };
Or JQuery:
$(function(){ $('a.new-window').click(function(){ window.open(this.href); return false; }); });
Remember to add the class “new-window” to your a element.
Forum: Themes and Templates
In reply to: Twentyeleven – font rendered different in IE and FirefoxI tested here and it’s the same on every browser…
Forum: Themes and Templates
In reply to: Footer moves when I convert to WP ThemeThe problem is that you are using absolute positioning in almost everything! You don’t need to do that.
If you want to center something, just give it a width and use margin:0 auto; if you want to put something OUTSITE the box, then you use the absolute position.
The absolute position os the element is relative to the first parent with position:relative.
The footer it’s not on the bottom because the content is position:absolute; and his height do not interfere with the page. You can see that if you take out the min-height.
You will have better results if you remake your code.
Forum: Themes and Templates
In reply to: Twentyeleven – font rendered different in IE and FirefoxLink, please.
Forum: Themes and Templates
In reply to: Footer moves when I convert to WP ThemeYeah, it’s a little messy, but try this:
Put the footer INSIDE the div CONTENT. At the end.
Then, on your #footer css, put this:
#footer {
position: absolute;
bottom: 0;
left: 0;
}and
#footer .fnavbar {
position: relative;
bottom: 0px;
left: -15px;
background-image: url(images/bot_nav.png);
background-repeat: no-repeat;
width: 829px;
height: 54px;
z-index: 20;
}That should work.
Forum: Themes and Templates
In reply to: Editing text in comment blockIt isn’t on the comments.php file?
Forum: Themes and Templates
In reply to: Theme slider not workingTry this:
If your script is located in (wp-content/themes/yourtheme/js), load this way:
<script type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/js/script.js” ></script>
Understand?
Forum: Themes and Templates
In reply to: Theme slider not workingI didn’t understand your question.
I saw that’s you’re not loading yous scripts correctly. Try to fix it and it will work!
Forum: Fixing WordPress
In reply to: Using WordPress on https:// only (not www.)I think there’s no much PROS and CONS. I prefer using without the WWW just because it’s shorter and easier to write.
One way to do that is modifying the .htaccess file.
I’ll copy/paste this code from html5boilerplate, just take a look:
# ---------------------------------------------------------------------- # Suppress or force the "www." at the beginning of URLs # ---------------------------------------------------------------------- # The same content should never be available under two different URLs - especially not with and # without "www." at the beginning, since this can cause SEO problems (duplicate content). # That's why you should choose one of the alternatives and redirect the other one. # By default option 1 (no "www.") is activated. Remember: Shorter URLs are sexier. # no-www.org/faq.php?q=class_b # If you rather want to use option 2, just comment out all option 1 lines # and uncomment option 2. # IMPORTANT: NEVER USE BOTH RULES AT THE SAME TIME! # ---------------------------------------------------------------------- # Option 1: # Rewrite "www.domain.com -> domain.com" <IfModule mod_rewrite.c> RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^(.*)$ https://%1/$1 [R=301,L] </IfModule> # ---------------------------------------------------------------------- # Option 2: # To rewrite "domain.com -> www.domain.com" uncomment the following lines. # Be aware that the following rule might not be a good idea if you # use "real" subdomains for certain parts of your website. # <IfModule mod_rewrite.c> # RewriteCond %{HTTPS} !=on # RewriteCond %{HTTP_HOST} !^www\..+$ [NC] # RewriteCond %{HTTP_HOST} (.+)$ [NC] # RewriteRule ^(.*)$ https://www.%1/$1 [R=301,L] # </IfModule>