Forum Replies Created
-
AuthorPosts
-
judith8686Member
Still no good! Argghhhh lol
judith8686MemberStill didn't work 🙁 so annoying! Thanks for trying to help though RobG
judith8686MemberStill nothing :-/
HmmmmmmAm Just adding the bit in bold or the whole thing? And do I need to change the stylesheet aswell as this?
judith8686MemberThanks for replying! Ive tried deleting the 'width' line altogether and changing the % but it will not resize ;-(
December 11, 2013 at 12:57 pm in reply to: Minimum Pro: Paypal donate button being forced will site width? Huge & Pixelated #78383judith8686MemberI have the same issue, but when I remove that line of code, the button doesn't change ;-/
judith8686MemberCan anyone tell me how I can just start again? Ive completely messed up all of my files. Most of my options have gone in customize appearance
judith8686MemberGutted, my header is gone too.... thinking it might be easier to just start from scratch!
judith8686MemberI downloaded it, saw the error made, deleted it, saved the file and uploaded it.... clicking on the file i uploaded now shows this
<?php
//* Start the engine
include_once( get_template_directory() . '/lib/init.php' );//* Set Localization (do not remove)
load_child_theme_textdomain( 'lifestyle', apply_filters( 'child_theme_textdomain', get_stylesheet_directory() . '/languages', 'lifestyle' ) );//* Child theme (do not remove)
define( 'CHILD_THEME_NAME', __( 'Lifestyle Pro Theme', 'lifestyle' ) );
define( 'CHILD_THEME_URL', 'http://my.studiopress.com/themes/lifestyle/' );
define( 'CHILD_THEME_VERSION', '3.0.0' );//* Add HTML5 markup structure
add_theme_support( 'html5' );//* Add viewport meta tag for mobile browsers
add_theme_support( 'genesis-responsive-viewport' );//* Enqueue Droid Sans and Roboto Slab Google fonts
add_action( 'wp_enqueue_scripts', 'lifestyle_google_fonts' );
function lifestyle_google_fonts() {wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Droid+Sans:400,700|Roboto+Slab:400,300,700', array(), CHILD_THEME_VERSION );
}
//* Add new image sizes
add_image_size( 'home-large', 634, 360, TRUE );
add_image_size( 'home-small', 266, 160, TRUE );//* Add support for custom background
add_theme_support( 'custom-background', array(
'default-image' => get_stylesheet_directory_uri() . '/images/bg.png',
'default-color' => 'efefe9',
) );//* Add support for custom header
add_theme_support( 'custom-header', array(
'header_image' => '',
'header-selector' => '.site-title a',
'header-text' => false,
'height' => 200,
'width' => 1140,
) );//* Add support for additional color style options
add_theme_support( 'genesis-style-selector', array(
'lifestyle-pro-blue' => __( 'Lifestyle Pro Blue', 'lifestyle' ),
'lifestyle-pro-green' => __( 'Lifestyle Pro Green', 'lifestyle' ),
'lifestyle-pro-mustard' => __( 'Lifestyle Pro Mustard', 'lifestyle' ),
'lifestyle-pro-purple' => __( 'Lifestyle Pro Purple', 'lifestyle' ),
'lifestyle-pro-red' => __( 'Lifestyle Pro Red', 'lifestyle' ),) );
//* Add support for 3-column footer widgets
add_theme_support( 'genesis-footer-widgets', 3 );//* Reposition the primary navigation
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_before_header', 'genesis_do_nav' );//* Modify the size of the Gravatar in the author box
add_filter( 'genesis_author_box_gravatar_size', 'lifestyle_author_box_gravatar' );
function lifestyle_author_box_gravatar( $size ) {return 96;
}
//* Modify the size of the Gravatar in the entry comments
add_filter( 'genesis_comment_list_args', 'lifestyle_comments_gravatar' );
function lifestyle_comments_gravatar( $args ) {$args['avatar_size'] = 60;
return $args;}
//* Register widget areas
genesis_register_sidebar( array(
'id' => 'home-top',
'name' => __( 'Home - Top', 'lifestyle' ),
'description' => __( 'This is the top section of the homepage.', 'lifestyle' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle',
'name' => __( 'Home - Middle', 'lifestyle' ),
'description' => __( 'This is the middle section of the homepage.', 'lifestyle' ),
) );
genesis_register_sidebar( array(
'id' => 'home-bottom-left',
'name' => __( 'Home - Bottom Left', 'lifestyle' ),
'description' => __( 'This is the bottom left section of the homepage.', 'lifestyle' ),
) );
genesis_register_sidebar( array(
'id' => 'home-bottom-right',
'name' => __( 'Home - Bottom Right', 'lifestyle' ),
'description' => __( 'This is the bottom right section of the homepage.', 'lifestyle' ),
) );add_action('wp_head', 'add_google_rel_author');
function add_google_rel_author() {
echo '<link rel="author" href="https://plus.google.com/u/0/100607045898385666733/posts" />';
}judith8686MemberThe total layout ...it looks like this now
judith8686MemberAlthough my site has changed ;-/
judith8686MemberHoorayyy im back on! Thanks x
judith8686MemberI know what ive done wrong, just cant get into my functions php to change it, i use 1and1 to host any idea how to access my files there?
judith8686MemberAh thanks, now that's showing my load time at 2.13 seconds....
judith8686MemberThanks for that Andrea, still crops when tablet is in portrait, but I can live with that lol
judith8686MemberI think i've completely messed up my css trying to fix this.... (massive newbie)
I wanted to upload my own header, which I have done after altering sizing in functions php. It looks great on my laptop, but on iphone its still showing all the padding and on ipad it actually crops the header ;-/
I've tried the above but think Im doing more harm than good.
my site is http://www.judithlewis.co.uk
-
AuthorPosts