• Resolved rnbuncovered

    (@rnbuncovered)


    I am using the greenlush template,
    And I really find the “——” on each post really annoying.

    I wish to stop this from happening but how?

    https://www.RnbUncovered.Com if you wish to see if for yourself

Viewing 8 replies - 1 through 8 (of 8 total)
  • gamingwordpressthemes

    (@gamingwordpressthemes)

    have a look through the theme files for those dashes and see what you can find.

    echodust

    (@echodust)

    Go into your template’s directory – wp-content/themes/your_theme/

    Open up your index.php

    Back up index.php by saving it as “index0.php”

    Look inside the code where you see “——————————–” and delete every instance of it.

    Save it as index.php, and test it.

    If it breaks your layout, then open up “index0.php” and save it as “index.php”, although I don’t think it should break your layout.

    Hope this helps.

    [signature moderated Please read the Forum Rules]

    Thread Starter rnbuncovered

    (@rnbuncovered)

    1.
    <?php
    2.
    get_header();
    3.
    ?>
    4.

    5.

    6.

    7.

    8.

    9.
    <!– START CONTENT –>
    10.
    <div id=”content”>
    11.
    12.
    <!– LEFT DIV –>
    13.
    <div id=”insidecontent”>
    14.
    15.
    <!– loop –>
    16.

    17.
    <?php if (have_posts()) :?>
    18.
    <?php $postCount=0; ?>
    19.
    <?php while (have_posts()) : the_post();?>
    20.
    <?php $postCount++;?>
    21.

    22.

    23.
    <h1>
    24.

    25.
    ” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?>
    26.

    27.
    </h1>
    28.

    29.

    30.
    <?php the_content (‘Read the rest of this entry »’); ?>
    31.

    32.

    33.

    34.
    <h5>
    35.

    36.
    Published on: <?php the_time(‘F jS Y’) ?> | <?php the_category(‘, ‘) ?> | <?php comments_popup_link(‘Comment now »’, ‘1 Comment »’, ‘% Comments »’, ‘commentslink’); ?>
    37.

    38.
    </h5>
    39.

    40.

    41.

    42.

    43.
    <div class=”commentsblock”>
    44.
    <?php comments_template(); ?>
    45.
    </div>
    46.
    47.
    <?php endwhile; ?>
    48.
    49.
    <?php else : ?>
    50.
    51.
    <h1>
    52.
    Not Found
    53.
    </h1>
    54.

    55.
    Sorry, but you are looking for something that isn’t here.”>
    56.
    57.
    <?php endif; ?>
    58.
    59.
    <div class=”navigation”>
    60.
    61.
    <div class=”left”><?php next_posts_link(‘« Older Posts’) ?></div>
    62.
    63.
    <div class=”right”><?php previous_posts_link(‘Newer Posts »’) ?></div>
    64.
    65.
    </div>
    66.
    67.
    <!– end loop –>
    68.
    </div>
    69.
    <!– END LEFT DIV –>
    70.
    71.
    72.
    <?php get_sidebar(); ?>
    73.
    74.
    75.
    <?php get_footer(); ?>

    That’s the index.php, can’t find “—————-“.

    randinicole

    (@randinicole)

    has nothing to do with your index php file

    it is the css to your size 5 header. it has a 1px dashed border. if you want no line at all take that part off

    h5 {
        	border-bottom: 1px solid #666666;
    	font-size: 1.05em;
    	font-weight: normal;
    	}

    . or if you want a solid line replace it with this

    h5 {
        	border-bottom: 1px solid #666666;
    	font-size: 1.05em;
    	font-weight: normal;
    	}
    Thread Starter rnbuncovered

    (@rnbuncovered)

    Hi, Thanks! It did work.
    But is there a way of having the dashes just under the published on…etc.

    randinicole

    (@randinicole)

    yea, edit your index.php file and change that part of the date to a different header size like h4 (make sure it is not in your css already) then add it

    h4 {
    border-bottom: 1px dashed #666666;
    font-size: 1.05em;
    font-weight: normal;
    }

    Thread Starter rnbuncovered

    (@rnbuncovered)

    Thanks again!

    All done now =]

    randinicole

    (@randinicole)

    You are very welcome ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Annoying!’ is closed to new replies.