Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter RagDolls

    (@ragdolls)

    Thank you, that worked. I have been spending some time at the W3schools online and am learning quit a bit! -Diane

    Thread Starter RagDolls

    (@ragdolls)

    linux4me2,
    Thanks that did work, I was not putting the whole footer page in before. Wonder if I’m putting things in the wrong place again- tried to run the text full width as you suggested.
    Made my header.php file,
    copied all the code from the Grisaille Header.php.
    Replaced the last line that referenced primary content, with the text you gave.
    Added the info at the end of my style.css

    The result was my page was totally blank when I loaded it. Might have been something in the header.php because when I took the style.css back to the way it was the page was still a blank. Got rid of header.php. And the site is back up? Grisaille header.php looks like this;

    <!DOCTYPE html> 
    
    <!--[if lt IE 7 ]> <html <?php language_attributes(); ?> class=" ie6"> <![endif]-->
    <!--[if IE 7 ]>    <html <?php language_attributes(); ?> class="ie7"> <![endif]-->
    <!--[if (gt IE 7)|!(IE)]><!--> <html <?php language_attributes(); ?>> <!--<![endif]-->
    <head>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" />
    <title><?php wp_title('|', true, 'right'); ?> <?php bloginfo('name'); ?> <?php if ( !wp_title('', true, 'left') ); { ?> | <?php bloginfo('description'); ?> <?php } ?></title>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
    <?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?> >
    
     <div id="canvas">
     <?php $options = get_option( 'grisaille_theme_options' ); ?>
    
     <div class="social-media">
    		<?php if ( $options['twitterurl'] != '' ) : ?>
    			<a>" class="twitter"><?php _e( 'Twitter', 'grisaille' ); ?></a>
    		<?php endif; ?>
    
    		<?php if ( $options['facebookurl'] != '' ) : ?>
    			<a>" class="facebook"><?php _e( 'Facebook', 'grisaille' ); ?></a>
    		<?php endif; ?>
    
    		<?php if ( $options['googleplusurl'] != '' ) : ?>
    			<a>" class="googleplus"><?php _e( 'Google +', 'grisaille' ); ?></a>
    		<?php endif; ?>
    
    		<?php if ( ! $options['hiderss'] ) : ?>
    			<a>" class="rss"><?php _e( 'RSS Feed', 'grisaille' ); ?></a>
    		<?php endif; ?>
    	</div><!-- #social-icons-->
    
        <ul class="skip">
    
    <li><a href=".menu"><?php _e( 'Skip to navigation', 'grisaille' ); ?></a></li>
    <li><a href="#primaryContent"><?php _e( 'Skip to main content', 'grisaille' ); ?></a></li>
    <li><a href="#secondaryContent"><?php _e( 'Skip to secondary content', 'grisaille' ); ?></a></li>
    <li><a href="#footer"><?php _e( 'Skip to footer', 'grisaille' ); ?></a></li>
        <div id="header-wrap">
       		<div id="header">
       			<?php $header_image = get_header_image();
    			if ( ! empty( $header_image ) ) : ?>
    			<div id="site-title" class="grisaille-header-image">
    			<?php else: ?>
           		<div id="site-title">
           		<?php endif; ?>
    				<h1><a>"><?php bloginfo('name'); ?></a></h1>
    				<div id="site-description"><?php bloginfo( 'description' ); ?></div>
               </div>
    
      	 </div> <!-- end #header-->
      <!--by default your pages will be displayed unless you specify your own menu content under Menu through the admin panel-->
    	<div id="top-menu">	<?php wp_nav_menu( array('theme_location' => 'main',  'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?></div>  
    
     </div> <!-- end #header-wrap-->
    
       <div id="primaryContent">

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use a pastebin. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]

    thanks, Diane

    Thread Starter RagDolls

    (@ragdolls)

    linux4me2,
    What I did was
    *make a new file, named it footer.php
    *copied the code you gave me, pasted into this file
    *loaded into my child them folder

    Should I have copied the existing info in the Grisaille footer.php, make a new file and pasted your code into this page? If so where would I paste it? Here’s the Grisaille footer.php-

    </div>
    
        <div id="secondaryContent">
            <?php get_sidebar(); ?>
          </div>
    
          <div id="footer">
           <p>Copyright © <?php echo date('Y');?> | <?php bloginfo('name'); ?> is proudly powered by <a href="http://wordpress.org/" title="WordPress.org">WordPress.org</a> - <a href="http://wordpress.org/" title="WordPress.org"><img src="<?php echo get_template_directory_uri(); ?>/images/wp-logo.png" alt="wordpress-logo" height="20px" width="20px" /></a>   </p>
    
          </div>
    
        </div> <!-- end #canvas -->
            <?php wp_footer(); ?>
      </body>
    </html>

    thanks, Diane

    Thread Starter RagDolls

    (@ragdolls)

    LLinux4me2,
    After I got rid of that bar on the front page using the footer.php, I should have checked the other pages because it was gone plus all the sidebar content on every page? So I added the sidebar. php back and got rid of the footer.php. Still have the floating bar.

    I’d like my welcome page to not have the sidebar clutter, look more like a website welcome page than a blog, trying to look like a website (even though that’s what it is).

    Thanks for the W3Schools link, looks like it could be very helpful.

    -Diane

    Thread Starter RagDolls

    (@ragdolls)

    llinux4me2,
    That worked like a charm. I do have some blank space on the welcome page, I think that’s fine, is there a way to center the main content on that page only. Sorry for all the questions, a last one- can you suggest a online course or a book that teaches more about how all of this works? About ten years ago I would make my own website with only html, there wasn’t php or style sheets or page templates. I went to WordPress documentation but it’s far too hard to understand….any suggestions?
    thanks for your help, Diane

    Thread Starter RagDolls

    (@ragdolls)

    linux4me2,
    Thanks so much for your solution, it worked great. When the sidebar disappeared from front page a horizontal bar is still up there where the top of the sidebar was. When I go into Firebug this element shows as
    <body class=”home page page-id-6 page-template-default custom-background”>
    <div id=”secondary content”

    How can I get rid of the bar on the front page only?

    Here’s my site http://RagDollsRising.com

    thanks, Diane

    Thread Starter RagDolls

    (@ragdolls)

    Hi Christine,
    I’m getting there, but hit a road block since the page.php template for my theme Grisaille has no mention of sidebar… am I missing something? Here’s the copy-

    /**
    *@desc A page. See single.php is for a blog post layout.
    */

    get_header();

    if (have_posts()) : while (have_posts()) : the_post();
    ?>

    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>

    <h1 class=”postTitle”>” rel=”bookmark”><?php the_title(); ?></h1>
    <?php if ( comments_open() || have_comments() ) {?>
    <span class=”comments”><?php comments_popup_link(‘0’, ‘1 ‘, ‘%’); ?></span>
    <?php }?>
    <div class=”clearfix page-title-border-bottom”></div>

    <div class=”post-wrap”><?php the_content(); ?></div>
    <?php wp_link_pages(
    array( ‘before’ => ‘<p class=”pages-links”>’ . __(‘Pages:’,’grisaille’),
    ‘after’ => ‘</p>’,
    ‘next_or_number’ => ‘number’,
    ‘nextpagelink’ => __(‘Next page’,’grisaille’),
    ‘previouspagelink’ => __(‘Previous page’,’grisaille’),
    ‘pagelink’ => ‘%’)); ?>
    <p class=”postMeta”><?php edit_post_link(__(‘Edit’, ‘grisaille’), ”); ?></p>
    </div>

    <?php
    if ( comments_open() || have_comments() ) {
    comments_template();
    }
    ?>

    <?php

    endwhile; else: ?>

    <p>Sorry, no pages matched your criteria.</p>

    <?php
    endif;

    get_footer();
    ?>

    Thread Starter RagDolls

    (@ragdolls)

    Christine,
    I found out what code I need to modify on the parent Grisaille theme to get rid of the side bar on the main page and widen the main text area with Firebug.

    My question is- how much of the code do I need to take? If I grab
    width: 900px
    and just paste it in the style.css sheet of my child theme, it doesn’t seem there is enough information.

    http://ragdollsrising.com
    -Diane

    Thread Starter RagDolls

    (@ragdolls)

    Thanks for your reply Christine. I did number one by creating a child theme. Number two is a little more difficult as I am a newbie on WordPress.org. Is there a tutorial on this?
    -Diane

    Thread Starter RagDolls

    (@ragdolls)

    Caroline,
    Thanks for your reply. Yes, it is easiest to go into my dashboard and make the edits. I downloaded Firebug and found it to be a fantastic tool for discovering what code needs to be changed for what effect.
    thanks again, Diane

    Thread Starter RagDolls

    (@ragdolls)

    Jose, I forgot to answer your question, I do want to replace the quilt image with my own mast head, get rid of the little box in the middle. -Diane

    Thread Starter RagDolls

    (@ragdolls)

    Thanks for your reply, but what I’m confused about is do I do this editing in the dashboard or at my host control panel?

    Thread Starter RagDolls

    (@ragdolls)

    Caroline,
    Piece by piece I think I’m getting this. I’ve got my Patchworkchild folder in my theme directory with my style.css file in the Patchworkchild folder.
    The child theme is loading o.k. The big question is …how do I make changes? There are several places to find files:
    in the dashboard-apperances-editor
    in the Manager files area of my Blue Host account

    Where do I grab the code from? I understand that I paste my changed code in my child theme style.css file…right?

    I do appreciate your help, Diane

    I replaced the Patchwork header with my own picture, now I’d like to get rid of the quilt behind the header and the heavy dark box around header. How can I do that?

    Thanks, Diane

    Thread Starter RagDolls

    (@ragdolls)

    Esmi,
    By clicking around and changing themes, it finally works right. Don’t know how, but it does.

Viewing 15 replies - 1 through 15 (of 16 total)