Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter cwmills

    (@cwmills)

    That worked perfectly, awesome, thank you very much!

    Thread Starter cwmills

    (@cwmills)

    Ok, I must have misread what the modlook tag is for. My apologies. Thanks!

    Thread Starter cwmills

    (@cwmills)

    Wow that magnifying glass tool is awesome, I’m still a little confused and overwhelmed on it all but I’ve only skimmed the article that Andrew posted.

    How can I use the dev tools to figure out how to change “Leave a reply” to “Leave a comment”? I believe what I changed in my comments.php child file should be working but its not.

    On a side note (off topic), is there a way I can tag moderators or other members in my posts? For example can I somehow tag Andrew above so that he knows this comment is in reply to him? Thanks!

    Thread Starter cwmills

    (@cwmills)

    Thanks kmessinger,

    I was able to find some CSS from a post on another forum that moved the link to the bottom of the post and it worked. I also found some code I applied to the comments.php child file that was supposed to change the link to read “Leave a Comment” but that did not work.

    I’m not familiar with Chrom developer tools and I’m fairly new to html and css, but I will definitely check it out. Thanks again!

    Thread Starter cwmills

    (@cwmills)

    Placing the “Leave a reply” link at the bottom of the posts rather than at the top was pretty easy, I found this snippet on another forum. So I added the below to my child CSS sheet and it worked.

    #content .post {
        position: relative;
    }
    
    #content .comments-link {
        position: absolute;
        bottom: 1em;
    }
    
    #content .post {
        padding-bottom: 3em;
    }

    As for changing the text “Leave a reply” with “Leave a Comment”, I found on another topic the following code that replaces,

    <?php comment_form(); ?>

    In a child comments.php file with,

    <?php comment_form(array(
       'title_reply' => 'Leave a Comment',
    )); ?>

    Which worked for others but has not worked for me, any advice from the pros?

    Thread Starter cwmills

    (@cwmills)

    I was able to figure it out but I am not sure if I used the correct method of doing so, here is the code I added to the header.php child file,

    <div class="header-ads">
    <a href="https://cex.io/r/0/cwmills/0/" title="Bitcoin Mining and Trading" target="_blank"><img src="https://cex.io/img/b/728x90.jpg" width="628" height="90" border="0" alt="CEX.IO"></a>
    </div><!--/ .header-ads -->

    And I added this to my CSS child sheet,

    .header-ads {
        position: relative;
        top: 40px;
        float: right;
    }

    I basically accomplished what I set out to do, but it’s just not as aesthetically pleasing as I thought it would be. Does anyone have some advice to help make it easier on the eyes and also are there any pros out there that could let me know if I coded correctly or if there is a better way to do it?

    [Moderator note: You decrease the readability of your posts by making every sentence bold]

    Thread Starter cwmills

    (@cwmills)

    I added a span style tag in the header.php file around the div tag for the banner ad, like this…

    <span style="float:right">
    <div class="header-ads">
    <a href="https://cex.io/r/0/cwmills/0/" title="Bitcoin Mining and Trading" target="_blank"><img src="https://cex.io/img/b/728x90.jpg" width="728" height="90" border="0" alt="CEX.IO"></a>
    </div><!--/ .header-ads -->
    </span>

    It is now to the right of my logo as you can see at my site, https://www.cryptorushnews.com

    The banner seems cut off at the top, I think this has something to do with code on my CSS sheet that has to do with something else, I would like to lower the banner a little and push it more to the right.

    I tried using a margin-top and margin-right/left in the span tag but nothing happened with the banner.

Viewing 7 replies - 16 through 22 (of 22 total)