WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] Hero Theme help (9 posts)

  1. cmurway
    Member
    Posted 1 year ago #

    Hello all,

    I am working one site http://www.thefitnessclinician.com and I am new to WP. I am using the theme Hero and so far loving it. I am having some trouble removing the sidebar and making the pages full. I have added other php files and I having no luck. I would love some suggestions...thanks.

    Sincerely,
    Craig Murway

  2. HI Craig, Sorry, but I don't understand what you mean when you say:

    I have added other php files and I having no luck.

    There's no need to add php files. If you want to change the layout, you'll need to modify the css. Right now, I see this in your style.css:

    .post-entry {
    width: 620px;
    float: left;
    padding-bottom: 10px;
    padding-top: 10px;
    overflow: hidden;
    }`

    The width of this container will need to be changed from 620px if you wish to make it larger.

  3. cmurway
    Member
    Posted 1 year ago #

    Hi Christine,

    WOW! Thank you soooooooo much....I have been sitting here since 6pm EST looking up solutions and I read that I would need to create other another page.php...thank You so much :)

    Sincerely,
    Craig

  4. cmurway
    Member
    Posted 1 year ago #

    Sorry for my typo of "I having no luck" LOL.

  5. cmurway
    Member
    Posted 1 year ago #

    I am also looking up how to change the size of the navigation...when I enlarge the font it creeps below the other parts..sorry to be a nag.

  6. In your css, you'll see this:

    .nav a {
    	padding: 1em 1em 1em 1em;
    	text-decoration:none;
    }

    When you increase the font size, try decreasing the padding.

    The way this css is written is a bit silly. Since all four values are 1em, it could simply have been written at

    .nav a {
    	padding: 1em;
    	text-decoration:none;
    }

    If you try :

    .nav a {
    	padding: 1em 0.5em;
    	text-decoration:none;
    }

    That will give you 1em at the top and bottom and 0.5 on left and right. When using 4 values, you read them as top, right, bottom, left.

  7. cmurway
    Member
    Posted 1 year ago #

    thanks! much appreciated....this template is a rough one! took me another 7 hours (no joke) to figure out how to remove the bottom read more buttons...all the code is spread through several files...

    trying to remove the download now
    found this

    <div class="one_third last"><?php if(of_get_option('welcome_button') != NULL){ ?>
    "><?php echo of_get_option('welcome_button'); ?>
    <?php } else { ?> "> <?php echo "download now"?> <?php } ?></div>
    <hr />

    but when I remove it..it takes away one of the upper borders..
    then my next task is to add a hover "block" over the nav bar...

  8. cmurway
    Member
    Posted 1 year ago #

    wow 90 percent of that is missing.

  9. cmurway
    Member
    Posted 1 year ago #

    Thanks again for your help Christine, I greatly appreciate it.

Topic Closed

This topic has been closed to new replies.

About this Topic