Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter davm

    (@davm)

    Yes, but all I did was copy this:

    <?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; ?>

    And paste it a few lines up, in order to get my header image on top of the main website title.

    Thread Starter davm

    (@davm)

    The only activated plugin I have is YARPP, but the same problem occurred before I installed and activated it.
    I don’t think I can link the website as I’m working on it as a localhost with MAMP. Here’s a scan of what the page looks like with a red circle where the title is (although invisible, due to the black background):
    http://www.dropbox.com/s/y0c2q1r1fdwsfx6/site.tiff

    Thread Starter davm

    (@davm)

    I’m not sure. It is not in the original stylesheet, as you say and I did not touch that.
    This is what the stylesheet for my child theme looks like:

    /*
    
    Theme Name: Child of Twenty Twelve
    Description: Test child theme based on Twenty Twelve
    Author: Davide
    Version: 0.0.1
    Template: twentytwelve
    
    */
    
    @import url('../twentytwelve/style.css');
    
    /* 
    
    Change site background color to black
    
    */
    
    .site {
    padding: 0 24px;
    padding: 0 1.714285714rem;
    background-color: rgb(0, 0, 0);
    }

    Thread Starter davm

    (@davm)

    Hi Cyndy, thanks for your reply.

    What I’m trying to do is exactly what you wrote:

    Are you trying to put it in a folder called “wordpress” for instance, but be viewable at the root of your domain?

    Yes, the only problem is that wordpress is “installed” in a folder within another folder within the root. And I think that might be why even following that guide, the process didn’t work.

    And your FTP client could be set to a folder inside of the root, which is what it sounds like.

    This is probably the problem. I have a folder inside of the root (mywebsite.com/folder) to which my FTP client is set up and inside this folder, I have a sub-folder (mywebsite.com/folder/sub-folder) where I put wordpress. Now I’m trying to have my wordpress website viewable at the link mywebsite.com.

    I’m not sure why my FTP client is set to a mywebsite.com/folder and not to my root. Do you have any idea? Does it have something to do with creating an FTP account in my CPanel? I thought I followed an online tutorial step by step, but I eventually ended up having a different result.

Viewing 4 replies - 1 through 4 (of 4 total)