Jeremy Pry
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Adding a New downloaded Theme to WordPressLeave the word “admin” as-is. So it would be http://margaret-peng.com/wp-admin/theme-install.php.
Forum: Themes and Templates
In reply to: Adding a New downloaded Theme to WordPressAre you an admin of your WordPress install? What about manually entering the address as I suggested?
Forum: Themes and Templates
In reply to: Adding a New downloaded Theme to WordPressAt the top of the themes page are two large Tabs. The first one says “Manage Themes” and the second one says “Install Themes”. The coloring is a light gray, so it may be easy to overlook.
Alternatively, you can navigate to the page manually by typing in the link in your browser:
http://www.your-site.com/wp-admin/theme-install.php.Forum: Themes and Templates
In reply to: Adding a New downloaded Theme to WordPressWell, I don’t know the exact structure of the Classica theme that you downloaded, but in order for WordPress to correctly find your theme, at a minimum you need a style.css file, like this:
wp-content/themes/classica/style.css.The most likely scenario that I can think of is that you unintentionally duplicated the classica folder, so you have
wp-content/themes/classica/classica/, or something similar.If you downloaded your theme as a zip file, it may be easier to let WordPress do the uploading for you. From the Admin interface, click on Appearance > Themes > Install Themes, then click on the Upload link. You can then browse for the zip file, and WordPress will take care of the rest.
Forum: Themes and Templates
In reply to: Adding a New downloaded Theme to WordPressDid you upload a file like classica.zip? Or is it an actual folder with files inside?
Forum: Themes and Templates
In reply to: Adding a New downloaded Theme to WordPressWhat folder did you upload the theme to? WordPress looks for themes in a specific place. From the root of your WordPress installation, the theme folder needs to be in
wp-content/themes/<themename>/.Forum: Themes and Templates
In reply to: Need some help with a php if statementAssuming the code you’ve posted is working correctly for your site, then you’d probably want something like this:
<?php $headerAttributes = ""; if ( has_post_thumbnail( $post->ID ) ) { $image = wp_get_attachment_image_scr( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); $headerAttributes = $headerAttributes . " " . 'style="background-image: url(' . $image[0] . ')"'; } if ( is_front_page() || is_home() ) { $headerAttributes = $headerAttributes . ' class="slide"'; } echo '<div id="header"' . $headerAttributes . '>'; ?>This is just one of many ways to do this, but it should give you enough of an idea to tailor it to your own style.
Forum: Fixing WordPress
In reply to: Center Navigation Menu TextFind this (around line 229):
/* +++++++++++ Header +++++++++++++ */ #header #headerleft{ display: block; float: left; width: 620px; padding-top: 6px; }Delete the width and float attributes, and add a
text-align: center;attribute.Forum: Fixing WordPress
In reply to: Center Navigation Menu TextEvery browser I’m looking in is showing your menu centered. I tried IE7, Safari 5, and Firefox 3.6.
Maybe you need to clear your browser’s cache, and reload the page.
Forum: Fixing WordPress
In reply to: Center Navigation Menu TextThe problem is that it’s not that simple, which may be why you’re not really getting any replies on this. I played with some different settings on your site for awhile, and I wasn’t able to get the navigation bar to be centered without taking away the dynamic properties of WordPress menus.
It’s not impossible to do this, but it is very difficult to do when the width of your navigation bar is not explicitly set. If you feel that your navigation menu is static and won’t be changing much, then you should be able to specifically set the width, and then adjust the margins to get it centered.
Find the section of your style.css labelled “Top navigation” (it starts around line 297). The next section beneath that is labelled “Drop down menu CSS” (around line 351). We’ll be looking at both of these sections. Here’s what you need to do:
- Change the width value under the section
#navouter #nav ul#dropmenu, #navouter #nav ul#dropmenu ulfrom 100% to 580px. - In that same section from step 1, delete the the setting
margin: 0; - The next set of changes is a little more complicated. Find the line of code that starts here:
#navouter #nav ul{ }. You will need to change that section and the next section. This is what you start with:#navouter #nav ul{ } #navouter #nav ul, #navouter #nav ul li{ display: block; float: left; text-align: center; margin: 0px; padding: 0px; background-image: none; list-style-type: none; }And this is what you should end up with:
#navouter #nav ul{ margin: 0 auto; } #navouter #nav ul li{ float: left; } #navouter #nav ul, #navouter #nav ul li{ display: block; padding: 0px; background-image: none; list-style-type: none; }
I believe that should get it working for you… Just keep in mind that if you modify your menu at all, you may need to adjust the width setting, because it is no longer dynamic.
Forum: Fixing WordPress
In reply to: Center Navigation Menu TextLeave
float: left;as-is. You will want to add an additional line that saystext-align: center;.Forum: Themes and Templates
In reply to: I need help, please.Well, let’s start with some of the basics:
- What framework are you using?
- What theme are you using?
- What plugin is conflicting?
- How is the plugin conflicting?
- What’s a link to your page?
Forum: Themes and Templates
In reply to: TwentyTen Theme – Modifying the Horizontal Alignment of a FormThe form that you’re using actually creates a table to structure the form elements, which is generally regarded as bad design (but for the moment that is beside the point). The table has an inline style setting the width at 260px. This is wider than the actual widget that contains it, which is set to 199px. That is why it does not seem to be aligned.
If you’re using a plugin to create the form, I would recommend searching for a different plugin that is more up-to-date in how it is actually implemented, as this will probably help out in making it fit into the allotted space.
Forum: Fixing WordPress
In reply to: Help with a striped down, new page.Check your stylesheet. Many stylesheets for WordPress have set images sizes include in them. Look in the stylesheet to see if there are any size definitions for any
imgelements.Forum: Themes and Templates
In reply to: Identify themeThere is a good chance that the theme is custom-made. You can certainly try contacting the website owner to see if they can give you any more details about the theme.
- Change the width value under the section