Forum Replies Created
-
AuthorPosts
-
Chris CreeParticipant
I've tried to post a link to a solution to your problem here twice but the posts get blocked by the forum software. Try Googling "htaccess redirect non-existent index.html to root" and I think you'll find an answer to your problem.
Chris CreeParticipantSo, why did you post a question for some other non-Genesis theme in the StudioPress community forum?
Chris CreeParticipantMy previous post got eaten, probably because the system didn't like the .htaccess code I posted. But look here for some code to add to your .htaccess file:
http://www.webmaster-talk.com/website-and-server-administration-forum/208724-301-redirect-index-html-to-root.html#post1049806I found that after Googling "htaccess redirect non-existent index.html to root"
Chris CreeParticipantTo get your index.html URL redirected to your root directory I think you're going to need to add something to your .htaccess file along these lines.
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /([^/]*/)*index.(html?|php)(?[^ ]*)? HTTP/ RewriteRule ^(([^/]*/)*)index.(html?|php)$ http://www.japanmylove.com/$1 [R=301,L]
I found that code here: http://www.webmaster-talk.com/website-and-server-administration-forum/208724-301-redirect-index-html-to-root.html#post1049806
after Googling "htaccess redirect non-existent index.html to root"
Chris CreeParticipantYou're not talking about normal Genesis footer widgets here but rather the output of the Genesis Widgetized Footer plugin. Those are two different things. From the plugin readme file:
PLEASE NOTE: Not to be confused with the "Footer Widget Areas" which normally come in columns and belong to the #footer-widgets div container ID. This plugin here only changes the regular footer content within the #footer div container ID, the other 'Footer Widgets #1 etc.' keep untouched!
Reading further down the readme file (which is shown on the front page of the plugin listing in the WordPress plugin directory) here's what you should do:
If you place something into the two footer Widget areas TOGETHER they will change their width: 'Footer Area #1' is first from left and will have 33% width (one third), 'Footer Area #2' is second to left and will have 66% width (two-thirds). Both values and the float could be overridden via child theme stylesheet (using '!important')
So that means you should add this to your stylesheet then:
.gwfoot-footer-one-one-third { width: 65% !important; } .gwfoot-footer-two-two-thirds { width: 32% !important; }
Chris CreeParticipantSince you've only got 148 pages indexed in Google it's probably easiest to take care of the change in permalink structure via your .htaccess file rather than with a plugin. You can redirect the old .html extension URL's to the new clean URLs.
Yoast's post on How to Change Your Permalink Structure is a good place to start. But with that small number of pages you can even list each page individually in you .htaccess file and be done with it.
Chris CreeParticipantStupid question: You do have your Genesis --> Theme Settings set to "Include the Featured Image" in the Content Archives box, right?
Chris CreeParticipantYou've got different width boxes for the #inner div and the #footer div. Your #inner div is 1130px wide and your #footer div is 1400px wide;
If you want the elements to move together as the page width gets narrower you going to want to make them the same width to start with.
Chris CreeParticipantYour entry for the padding is invalid. You need to designate units for each number.
You have this:
padding: 25 25 25 25px;Instead either one of these will work for you:
padding: 25px;
padding: 25px 25px 25px 25px;Chris CreeParticipantIt's a combination of things to get what you want. Here's what I'd do:
- Increase #inner (line 597) to 970px wide.
- Increase .content-sidebar #content-sidebar-wrap (line 645) to 970px wide.
- Increase width of #content (line 668) to 650px wide.
- Change padding on .post (line 714) to padding: 25px;
Chris CreeParticipantIn line 1302 of your stylesheet you have this:
#footer .gototop { float: left; padding: 0 0 0 250px; width: 150px; }
The padding is throwing your Return to top of page off center. You can either zero that out or add
#footer .gototop { padding: 0; }
to the 1024px media query in the responsive portion of your stylesheet.
Chris CreeParticipantI think if you add something along these lines to your functions.php file it should get you close:
// Add page title to blog page template
add_action( 'genesis_before', 'wsm_blog_page_title' );function wsm_blog_page_title() { if ( is_page_template( 'page_blog.php' ) ) { add_action( 'genesis_before_content', 'wsm_show_blog_page_title_text', 2 ); } } function wsm_show_blog_page_title_text() { echo '<h1 class="entry-title">' . get_the_title() . '</h1>'; }
Chris CreeParticipantIt would help folks give you good advice if you posted a link to the site you are asking about.
But based on the default Genesis CSS this should get you moving in the right direction.
h1, .entry-title, .entry-title a { text-align: left; } h2, h3, h4 { text-align: center; }
Chris CreeParticipantOpen Graph stuff is best managed via a plugin and one of the best plugins for dealing with that is Yoast's WordPress SEO plugin.
Since FB only announced this change a couple days ago it will probably be a little while before it is widely supported. But I suspect Yoast will be one of the first to incorporate it into his plugin.
Chris CreeParticipantYou can add HTML forms to the Soliloquy slider with no problems, if you're willing to buy a premium slider plugin.
Chris CreeParticipantYou don't have to list each page by ID number. You can just use one entry:
body.page #content { background: #000; }
and it would cover all pages. That way you don't have to keep updating your stylesheet every time you add a new page.
Which div are do you want to change the background color for?
If it is the body div then you can do something like this:
body.page { background: #f00; } body.single { background: #00f; }
Since you have a custom background color you may need to add that class to the selector. For example:
body.page.custom-background { background: #f00; }
June 22, 2013 at 2:54 pm in reply to: Inner Container of my Static Front Page is not displaying properly #47209Chris CreeParticipantLook at line 649 of your style sheet. This code is overriding the padding on your home page:
.page-template-home-demo-php.full-width-content #inner, .archive.full-width-content #inner, .home.full-width-content #inner { padding: 0; width: 990px; }
Either adjust the padding here, remove the .home.full-width-content #inner selector or delete this bit entirely.
Chris CreeParticipantYou can add a widget area to your home page template (home.php) and then use 2 Genesis Featured Post widgets. With the first one you can include the full post content. In the second widget you can just display the post title.
Chris CreeParticipantThe blog page doesn't display a page title in Genesis because the post titles each display. You'll have to add some code to get a page title to display on the blog page template above the post titles.
Chris CreeParticipantThere are a couple options. The easiest is to create a separate theme for each site by duplicating the Agency theme, changing the name of the folder so that its site related, and then change the name of the theme at the top of the style.css file too.
Using a site oriented naming convention for your themes will help you manage things as your multisite install grows.
The other option is to use the Genesis Simple Hooks plugin to modify your PHP. It's Multisite compatible. Then you can use a plugin like the WordPress.com Safe CSS plugin to customize your CSS. Just know that Automattic stopped developing that plugin when the Borglike Jetpack absorbed it's functionality.
Personally I wouldn't put Jetpack on a Multisite install that has more than a few sites on it. But that's me.
-
AuthorPosts