mrling
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: CSS inheritanceYes, I am using a child theme of twenty twelve. Also, I tried,
#page .hfeed {margin-top: 0 !important;}
,but it didn’t work ??Forum: Fixing WordPress
In reply to: Sidebar with WooCommerce pluginSorry for the late reply, been busy with work. I will try the sidebar plugin.
Forum: Fixing WordPress
In reply to: Sidebar with WooCommerce pluginI apologize, the theme is a Twenty Twelve child.
Forum: Fixing WordPress
In reply to: Automatic excerpts on homepageAhhhh…I understand now. Thank you for the help alchymyth! Now I just have to figure out how I can shorten my posts to small rectangles with a thumbnail and the excerpt.
Forum: Fixing WordPress
In reply to: Automatic excerpts on homepageSorry, wrong folder, here is the edited content.php:
https://pastebin.com/EFczfw55…using the code you mentioned above,which resulted with the scream error:
https://pastebin.com/1K5HDK9GForum: Fixing WordPress
In reply to: Automatic excerpts on homepageHere is content.php https://pastebin.com/4dzXVBGG
and….
Here is the exact error message: https://pastebin.com/1K5HDK9GForum: Fixing WordPress
In reply to: Positioning with CSSThanks Triptripper, it worked!
Forum: Fixing WordPress
In reply to: Positioning with CSSShouldn’t I still be able to position it the way I want with both the rollover and rss divs nested inside the header? I believe the header would be only extending to the base of the rollover image if the rss icon was not there. I’m just confused because without resizing the rollover div to 100%, there should be plenty of space for the rss icon to fit next to it.
Forum: Fixing WordPress
In reply to: Rollover image effectEureka! it worked! Thank you WPyogi!!!! Also thanks for reminding me with your code that one should comment the original code out, I had forgotten that, though I suspect I would have been reminded the hard way later on. Check out my site with the new mouse-over feature on the header!
Resolved!One final detail I was wondering, is I decided to copy all the header.php code into my child-theme. Is this a sloppy practice? Would it be best to just add the commented out and new code?
Forum: Fixing WordPress
In reply to: Rollover image effect@wpyogi, the second image is the same, just using lighter (white) colored letters.
Here is the code for the header.php in twenty-twelve theme:
<?php /** * The Header for our theme. * * Displays all of the <head> section and everything up till <div id="main"> * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?><!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 8]> <html class="ie ie8" <?php language_attributes(); ?>> <![endif]--> <!--[if !(IE 7) | !(IE 8) ]><!--> <html <?php language_attributes(); ?>> <!--<![endif]--> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <meta name="viewport" content="width=device-width" /> <title><?php wp_title( '|', true, 'right' ); ?></title> <link rel="profile" href="https://gmpg.org/xfn/11" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions. ?> <!--[if lt IE 9]> <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script> <![endif]--> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <div id="page" class="hfeed site"> <header id="masthead" class="site-header" role="banner"> <hgroup> <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> </hgroup> <nav id="site-navigation" class="main-navigation" role="navigation"> <h3 class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></h3> <a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a> <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?> </nav><!-- #site-navigation --> <?php $header_image = get_header_image(); if ( ! empty( $header_image ) ) : ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /></a> <?php endif; ?> </header><!-- #masthead --> <div id="main" class="wrapper">
Forum: Fixing WordPress
In reply to: Rollover image effect@wpyogi, the image I want to add the roll-over effect to is the header images that says my name on the top left.
Forum: Fixing WordPress
In reply to: Rollover image effect@wpyogi, thanks for testing it out. I will try working on it some more tonight. However, as you mentioned, last night while looking through the header.php, lines 48-51, I was having a hard time trying to figure out how to implement the html with the php code that already controls the header. It will probably take me a lot of trial and error, so I’m hoping somebody will be able to share how to implement the roll-over html effect with the header.php.
Forum: Fixing WordPress
In reply to: Rollover image effectApparently there may be a way to create the hover effect using css image sprites. I will have to look more into this to make sure, and it won’t help me learn how to edit the wordpress html/php.
Forum: Fixing WordPress
In reply to: Rollover image effectGlad you liked the painting, and thanks for looking into this with me danallenhouston. I found the file and looked at the code, but am still confused about where I should start editing and inserting the url’s for my header images…if I even have to do that. Unfortunately I’m not that familiar with php yet, so this may be a big challenge for me.
Forum: Fixing WordPress
In reply to: Install WordPress for local developmentI dropped the wordpress folder and installed directly into /wamp/www/mysite, and now I am getting the site but no css styling? Have any clue why this is?