Forum Replies Created
-
AuthorPosts
-
December 20, 2023 at 10:56 am in reply to: So I can’t buy invidual themes for less than $360? #507797
spoll
ParticipantApparently from the looks of Genesis in the Forum, we're currently on the Titanic.
spoll
ParticipantI see the problem, but doesn't she need to change the height in the functions.php as well?
November 26, 2013 at 2:38 pm in reply to: How to do a Full WordPress Backup and Migration from Old Host to New Host #75745spoll
ParticipantHi Tony-
I played around with this approach and I think it worked great, very simple as well.
Thanks-
Scottspoll
ParticipantSure, here's the php:
<?php
/** Start the engine */
require_once( get_template_directory() . '/lib/init.php' );/** Child theme (do not remove) */
define( 'CHILD_THEME_NAME', 'News Theme' );
define( 'CHILD_THEME_URL', 'http://www.studiopress.com/themes/news' );/** Add Viewport meta tag for mobile browsers */
add_action( 'genesis_meta', 'news_add_viewport_meta_tag' );
function news_add_viewport_meta_tag() {
echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>';
}$content_width = apply_filters( 'content_width', 580, 430, 910 );
/** Create additional color style options */
add_theme_support( 'genesis-style-selector', array(
'news-green' => 'Green',
'news-orange' => 'Orange',
'news-pink' => 'Pink',
'news-purple' => 'Purple',
'news-red' => 'Red',
'news-teal' => 'Teal'
) );/** Add support for structural wraps */
add_theme_support( 'genesis-structural-wraps', array(
'header',
'nav',
'subnav',
'inner',
'footer-widgets',
'footer'
) );/** Add new image sizes */
add_image_size( 'home-bottom', 110, 110, TRUE );
add_image_size( 'home-middle-left', 280, 165, TRUE );
add_image_size( 'home-middle-right', 50, 50, TRUE );
add_image_size( 'home-tabs', 150, 220, TRUE );/** Add support for custom header */
add_theme_support( 'genesis-custom-header', array(
'width' => 960,
'height' => 250
) );/** Add support for custom background */
add_theme_support( 'custom-background' );/** Reposition the secondary navigation */
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
add_action( 'genesis_before', 'genesis_do_subnav' );/** Add after post ad section */
add_action( 'genesis_after_post_content', 'news_after_post_ad', 9 );
function news_after_post_ad() {
if ( is_single() && is_active_sidebar( 'after-post-ad' ) ) {
echo '<div class="after-post-ad">';
dynamic_sidebar( 'after-post-ad' );
echo '</div><!-- end .after-post-ad -->';
}
}/** Add after content ad section */
add_action( 'genesis_before_footer', 'news_after_content_ad' );
function news_after_content_ad() {
if ( is_active_sidebar( 'after-content-ad' ) ) {
echo '<div class="after-content-ad">';
dynamic_sidebar( 'after-content-ad' );
echo '</div><!-- end .after-content-ad -->';
}
}/** Add support for 3-column footer widgets */
add_theme_support( 'genesis-footer-widgets', 3 );/** Register widget areas */
genesis_register_sidebar( array(
'id' => 'home-top',
'name' => __( 'Home Top', 'news' ),
'description' => __( 'This is the home top section.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle-left',
'name' => __( 'Home Middle Left', 'news' ),
'description' => __( 'This is the home middle left section.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle-right',
'name' => __( 'Home Middle Right', 'news' ),
'description' => __( 'This is the home middle right section.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-bottom',
'name' => __( 'Home Bottom', 'news' ),
'description' => __( 'This is the home bottom section.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'after-post-ad',
'name' => __( 'After Post Ad', 'news' ),
'description' => __( 'This is the after post ad section.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'after-content-ad',
'name' => __( 'After Content Ad', 'news' ),
'description' => __( 'This is the after content ad section.', 'news' ),
) );spoll
ParticipantOk, this may seem strange, but it's just not there in the widget area. The ACA widget area is empty. I tried that earlier that's why I'm having such a difficult time clearing it out.
spoll
ParticipantI thought so too, is this it?
.after-content-ad {
clear: both;
margin: 0 auto;
overflow: hidden;
padding: 0 0 20px;
text-align: center;
width: 960px;
}I tried deleting and nothing happened.
spoll
ParticipantI made an adjustment but now it's just that there's a large amount of space to the right. Normally that's the correct responsive layout without anything to the right.
spoll
ParticipantThe 98% won't affect it. The logo in the upper left is definitely on the blurry side. You may want to ask what dpi he has it set at? I've noticed with mine if I set it to 72 dpi, which is standard for web images, my logo looked blurry. So I set it at 300 dpi and that helped a lot without slowing down my site.
spoll
ParticipantThanks for checking, maybe it's an Apple issue?
spoll
ParticipantOk, thank you for helping out I very much appreciate it.
Scott
spoll
ParticipantYes that does as a matter of fact. Is that not preferable to work with just a widgetized page?
spoll
ParticipantHi Andrea-
Well, I added another home page as a test but when I went back to see which was which they both acted as the new test blank page so I trashed both thinking the original would show up, dumb I know.
There isn't an edit in the admin bar or the bottom of the page itself either, it just seems to exist somewhere and I can't get to it.
spoll
ParticipantDownloaded Genesis Layout Extras, all is well.
spoll
ParticipantI've been using them and as I've mentioned still no luck.
For instance, I've been struggling for an hour with how to simply change the color of the prices from black to red on the home page without making all fonts red.
Also, trying to get some air between the text widgets and image widgets without affecting the entire site.
There has to be something other than Firebug to learn how to achieve that, no?
November 4, 2013 at 12:50 pm in reply to: Social icons and smaller screen problems- News theme #70884spoll
ParticipantHi-
On lines 188 and changed overflow to visible and that seems to have helped thanks. On line 2488 I added up to 100px padding and the icons are still not visible and now is there a way to center the nav bar and it's contents?
Thank you
spoll
ParticipantHi Dave-
Thanks! We're having a lot of fun with them.
Yes, originally the blood was fixed and that led to my initial question. I had a feeling it would be difficult for a "non-geek" such as myself since I already blew up a site when I touched the .php. So I'm happy with this and maybe down the road with a lot more experience I'll venture into the .php functions.
Or maybe there'll be a plugin between now and then. 🙂
Thanks again-
Scottspoll
ParticipantYes it does and it worked, thanks for your help!
spoll
ParticipantWorks perfectly Brad, thanks again!
spoll
ParticipantThanks Brad, I'll look into that this a.m.
-
AuthorPosts