wpismypuppet
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Trouble with centering my contentAh ok… I see what the problem is now. I was looking to see what the difference was between the “about us” page, and this one here that you are trying to center. Why does “about us” look right?
You have some custom styles already specifying how these pages are centered. And I mean CUSTOM… by page name. Since you don’t know CSS, you must not have done these styles. So my suggestion to you is to forget what I wrote before, and do this in that file instead:
.pagename-building-exterior-rehab #content-wrapper { margin: 70px 0 0 397px; min-height: 660px; }You won’t find this code in the style.css file, but you will find:
.pagename-about-us #content-wrapper { margin: 70px 0 0 397px; min-height: 660px; }so just put it in after that code. You may have to play with the min-height value to prevent your footer from overwriting the text, or being too far away from it.
I don’t know who made these styles… they are “over engineered”… but again, you’re not familiar with css, so I’ll try to give you the easiest answer.
Forum: Fixing WordPress
In reply to: Trouble with centering my contentIt’s a good start… but there are two other styles interfering… it looks like they way you are using the page, it won’t matter if we remove them. Change this block:
.one-col, .two-col, .three-col, .four-col { display: inline; float: left; margin-left: 0px; }to this:
.one-col, .two-col, .three-col, .four-col { margin-left: 0px; }And because of the funky background image you have, you may have to play with the width of .two-col to make it more centered. Maybe lower it to 540…?
Forum: Fixing WordPress
In reply to: Trouble with centering my contentAh… you don’t want to add that code to the page itself. You want to add it to the style.css file. If you add it to the page itself, it’ll only work for just that page, not the whole site. And if you really want to add it to just that one page, you need to wrap the code in <style> </style> tags.
Are you familiar with stylesheets? If you are, you can go to “appearance->editor” and then in the right hand column select “stylesheet (style.css)” from the menu. Add this code there.
Forum: Fixing WordPress
In reply to: How to I code this to get the icons side by side?You don’t need to rewrite the code to make this work… use css…
#___plusone_0 { float: left !important; } .fb-like { width: 50px; margin-left: 20px; }Forum: Fixing WordPress
In reply to: Trouble with centering my contenttypically adding a width to the element to be centered is needed, along with a margin of 0 and auto. Something like this would work:
.two-col { width: 640px; margin: 0 auto; }I set the width to 640px because that is the width of your iframe. I just don’t know if you want it on the .two-col div or where you want it!
Forum: Fixing WordPress
In reply to: Uploaded image files show progressively smallerYou are welcome… glad it helped.
Forum: Fixing WordPress
In reply to: Uploaded image files show progressively smallerWell, again… I think the problem is where the cursor is when you insert into post. You might be inside one of those blocks that already contains a photo… therefor nesting each photo. Try putting one image in and see how it looks… i.e. remove all content except for one image.
If that works and looks good, hit enter a few times (just for testing) and insert another image. If the two images are separate and not nested, then figure out how many enters you need to get them separate. Once it looks good, you can always go back and remove a few line breaks… give that a go, using only two or three images at once to make testing easier.
I don’t think it’s a WordPress/theme issue at all… just where the cursor is at the time of picture insertion.
Forum: Fixing WordPress
In reply to: Uploaded image files show progressively smallerJust uploading the images though the upload/insert does not put them on the page… you have to use the “insert into post” or some other method. Are you using that? Is there anything else special that you are doing to give the images that border, background color, and caption?
The site is looking better… I think when you are inserting, you just have to pay attention to where the cursor is on the post so you don’t nest them by accident. WordPress editor is not the best tool in the world for this kind of work.
Forum: Fixing WordPress
In reply to: Uploaded image files show progressively smallerAre you using a theme? If so, what theme? How are you inserting them onto the page? Please provide more details…
Forum: Fixing WordPress
In reply to: Uploaded image files show progressively smallerWhatever you are doing to put the images on the page, you have them nested inside one another. Then there is a style “.post img.size-full” which is setting each image to be 96% of it’s parent container… so each image is getting smaller because it’s becoming 96% of it’s parent, which is 96% of IT’S parent… A vicious cycle.
You might want to remove all these images and then add them back one at a time taking care not to nest them inside each other.
Forum: Fixing WordPress
In reply to: Need show only certain pages on menuI think this is what you are looking for:
http://codex.wordpress.org/Appearance_Menus_Screen
Please note that down at the bottom in the “Adding Menu Support to Themes” section, there are links on adding the correct code to make menus appear in the admin section, if they aren’t already there.
Once you have a menu set up, and you place the code correctly, you should be able to add/remove navigation items with ease!
Forum: Fixing WordPress
In reply to: Show "Image not Available", for every x number$images = get_children(array( 'post_parent' => get_the_ID(), 'post_type' => 'attachment', 'numberposts' => 3, 'orderly' => 'menu_order', 'exclude' => get_post_thumbnail_id(), 'post_mime_type' => 'image' ) ); $numImages = 0; if($images) { foreach( $images as $image ) { $gallery = wp_get_attachment_image($image->ID, 'thumbnail'); echo $gallery; $numImages++; } } for( $i=$numImages; $i >= 2; $i++ ) { echo '<img src="path-to-image-not-available" />'; }Something like that should help…
Forum: Fixing WordPress
In reply to: Add first and last classes to menusSomeone on this thread http://wordpress.org/support/topic/adding-a-class-to-first-and-last-menu-items wrote to use:
function add_first_and_last($output) { $output = preg_replace('/class="menu-item/', 'class="first-menu-item menu-item', $output, 1); $output = substr_replace($output, 'class="last-menu-item menu-item', strripos($output, 'class="menu-item'), strlen('class="menu-item')); return $output; } add_filter('wp_nav_menu', 'add_first_and_last');I tested it and it works perfectly… just add that code to your functions.php file and you should be able to use these classes:
first-menu-item
last-menu-itemForum: Fixing WordPress
In reply to: Embedding flash object with required Javascript in a page?anytime… glad it worked out!
Forum: Fixing WordPress
In reply to: Is it worth changing the login URL to foil brute force hackers?I agree, but if you are that concerned about hackers, you’ll keep up on your IP address and change your .htaccess file as needed. You’d still have access to your site through FTP, so it shouldn’t be an issue. Brute force hackers generally use bots to execute their attacks… those same bots will find the login page, even with obscurity in place.