Forum Replies Created

Viewing 15 replies - 496 through 510 (of 542 total)
  • Are you trying to achieve this?

    Screenshot

    If so you could try and use fluid margins instead:

    .call-to-action-button {
      margin: 22px 28% 0 0;
    }
    
    .call-to-action-content {
      margin: 0 0 0 10%;
    }

    I hope that helps.

    – Luke

    Congrats! 🙂

    To change the copyright text try:

    Appearance -> Theme Options -> General Settings -> Copyrights Text

    Hi,

    Are you using a child theme? If not then I highly reccomend using one, especially since you are making CSS and PHP edits. You can read about child themes and how to set them up here:

    http://codex.wordpress.org/Child_Themes

    To remove the nav menu in the footer you can do this with CSS:

    .footer-navigation {
      display: none;
    }

    To remove the copyright link use this:

    .copyright-left-text {
      display:  none;
    }

    I hope that helps a little.

    – Luke

    Hi there,

    Could you post a link to your site so we can see exactly what’s going on?

    – Luke

    Hi there,

    If you want your code to work at a particular screen size you’ll have to use media queries to tell the browser when you want the code to be activated.

    For example, something like this:

    @media (min-width: 768px) and (max-width: 979px) { 
    
    .call-to-action-content {
     float: none;
     width: 100%;
     margin-bottom: 10px;
     text-align: center;
    }
    
    }

    You can adjust the min-width and max-width sizes to focus on the screen size you are targeting or create multiple media queries for different screens – say smartphone, tablet, laptop, desktop for example.

    The best way to save these changes is in a child theme, so your customizations stay safe when your theme updates.

    Perhaps you could post a link to your site so what can see exactly what is going on?

    I hope that helps.

    – Luke

    Hi there,

    Can you give us a link to your site so we can see exactly what is going on?

    – Luke

    Hi there,

    Congrats on getting your child theme setup. Here’s the code I think you’ll need.

    1. Removing the text that says ‘Home’ on the front page:

    #post-7 header h1 {
      display:  none;
    }

    2. Remove the breadcrumbs (little house with > followed by page name)

    .breadcrumb-trail.breadcrumbs.font-secondary {
      display:  none;
    }

    I hope that sorts it for you!

    – Luke

    Hi there,

    I think it’s being caused by these two elements:

    .kad_tagline which has a bottom margin of 10px and .kad-header-right which has a height of 1px.

    You can certainly fix this with CSS. Place the following code in your custom CSS or child theme style.css. Child themes are the safest way to go when making any kind of customization and keep your changes safe from theme updates.

    .kad_tagline {
       margin: 0;
    }
    
    .kad-header-right {
       display: none;
    }

    Great site by the way. Looks like a very beautiful part of the world 🙂

    – Luke

    Hi,

    Congrats on getting this far 🙂

    You could just change the dimensions of your image in photoshop or:

    You can specify dimensions using a php variable. You’ll have to change your functions.php file again, so it looks like this (enter your own dimensions for width and height):

    <?php
    $args = array(
    	'width'         => 00,
    	'height'        => 00,
    );
    add_theme_support( 'custom-header', $args );
    ?>

    1. Check that you set your main header, as described in step 7 above.

    2. Make sure when you upload your ‘Virtual Assistant for Spiritual Entrepeneurs’ you don’t click the ‘Choose Image’ button. Just set this on the specific page as described in step 9.

    3. Check that you entered all the php code correctly.

    After that I’m out of ideas. Like I said, it’s working perfectly for me.

    I hope you get there Audrey, so close now 🙂 !

    – Luke

    Hi there.

    I think I’ve got it.

    Are you trying to achieve this: Screenshot.

    If so, you can use:

    #primary {
      float: right;
       width: 80%;
    }
    
    #secondary {
      float: left;
      width: 20%;
    }

    Place the above code in your custom css or child theme style.css. Child themes are the best way to go when making any kind of customization.

    I hope that helped!

    – Luke

    Hi,

    I just tried this out and it’s working well for me:

    To have a custom header image on just one page you can use this plugin:

    WP Display Header

    but….

    You’ll need to make some changes to your header.php file. To include this in your child theme you’ll need to:

    1. Copy all the code from your header.php in your parent theme.
    2. Paste it into a new file called header.php in your child theme folder.
    3. Look for this code:

    <?php if (of_get_option('logo_image')) : ?>
    
                <a>" class="logo-img"><img src="<?php echo esc_attr( of_get_option('logo_image') ); ?>" alt="<?php bloginfo( 'name' ); ?>" /></a>
    
            <?php else : ?>
    
            <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
            <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    
            <?php endif; ?>

    4. Delete it and replace it with:

    <img src="<?php header_image(); ?>" height="<?php echo get_custom_header()->height; ?>" width="<?php echo get_custom_header()->width; ?>" alt="" />

    5. Create a new file in your child theme folder called ‘functions.php’ and place this code inside it:

    <?php
    add_theme_support( 'custom-header' );
    ?>

    6. Go to your Dashboard – Plugins -> Add New and search for WP Display Header. Install and activate.

    7. Go to your Appearance –> Header and upload the header image file you want to use on your front page and click ‘Choose Image’.

    7. Repeat the process and upload the image file you want to use on your ‘Spiritual Virtual Assistant’ page but DON’T click ‘Choose Image’.

    8. Instead, go to your Dashboard – > Pages and click ‘Edit’ under your ‘Spiritual Virtual Assistant’ page.

    9. Scroll to the bottom and you should see a box called ‘Header’ and be able to click the radio icon next to the image you want to use.

    10. Click update and you should have a custom header on just that particular page.

    As regards your child theme, these are the exact steps I took to set it up:

    1. Create a new folder in wp-content/themes/ called

    sugar-and-spice-child

    2. Create a new file called ‘style.css’ and paste in the following code:

    /*
     Theme Name:   Sugar and Spice Child
     Theme URI:    http://example.com/twenty-fourteen-child/
     Template:     sugar-and-spice
     Version:      1.0.0
     Text Domain:  sugar-and-spice-child
    */
    
    @import url("../sugar-and-spice/style.css");
    
    /* =Theme customization starts here
    -------------------------------------------------------------- */
    
    .page-id-4 {
       background-image:  url("http://subtlepatterns.com/patterns/congruent_outline.png") !important;
    }

    3. Dashboard – Appearance -> Themes & Activate ‘Sugar and Spice Child’

    If could be that you set some styles under – Appearance -> Theme Options and you just have to apply those again in your child theme.

    I hope that helps you out 🙂

    – Luke

    Here is the css you’ll need to place in your child theme to change the background on the ‘Spiritual Virtual Assistant’ page..

    .page-id-60 {
       background-image:  url("http://") !important;
    }

    Change the url to the path of your background image.

    The code looks fine Audrey.

    Is the child theme appearing in your Appearance -> Themes area on your dashboard?

    If so, what happens when you try to activate it?

    Do note that you’ll probably need to reset the header images and menus, as with any theme change.

    Your site looks different now…maybe you did it ? 🙂

    – Luke

    Hi Audrey,

    When you create a child theme you don’t need to copy the style.css file just link to it as you are doing with the @import function.

    I think your problem could be the two dots at the beginning of the url. This is used to jump up to a higher level folder but since you are using the full url its unneseccary.

    This should be all you need:

    @import url("../sugar-and-spice/style.css")

    Also, check that the name of your child theme folder is exactly the same as what is written besides your ‘Text Domain’.

    It won’t make any difference whether or not you are using subdomains as long as you have the parent theme installed in your current installation of wordpress and have your child theme activated.

    Is this page http://www.audrey-shore.com/spiritual-virtual-assistant

    the one you want to change the background and header on? If so, do you want a background image or a different color (so I can give you the correct CSS) ?

    I hope that gets your child theme sorted 🙂

    – Luke

Viewing 15 replies - 496 through 510 (of 542 total)