• https://relishlove.com/

    On my “About Us” “Services” and “Contact Us” pages there is a grey box at the top of the page. There is also a grey box on the Blog page for the date section.
    It’s the same box but I want to remove it from the other pages while leaving it on the blog as a highlight to the datestamp.
    I assume I need to make an exclusion in my PHP index file? But don’t know how. Anyone interested in helping, or sending me information where to look to get information?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Im not sure how you put the highlight there, but im pretty sure to get it so its one the blog page and not on the rest you will need to make a page template that has that highlight and, take out the highlight from where ever else you had it in the first place.

    So using a different page template for just the blog page and including that highlight in it will allow for it to only show in that page.
    this might help in the right direction

    Thread Starter jacque_relish

    (@jacque_relish)

    I’ll try that out.
    This is portion from the PHP hile that relates to it:

    <div class=”postTarih”>
    <span class=”gun”><?php the_time(‘d’) ?></span>
    <span class=”month”><?php the_time(‘M’) ?></span>
    <span class=”year”><?php the_time(‘Y’) ?></span>
    </div>

    This is the STylesheet portion:
    .post .postUst .postTarih{
    background: #666;
    width: 96px;
    height: 48px;
    float: left;
    color: #fff;
    padding-left: 10px;
    padding-top: 3px;

    Thread Starter jacque_relish

    (@jacque_relish)

    Got it!!
    Made some changes to the Page.php file and created a new group in the style sheet.
    THANkS ??

    Your Welcome

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove element from Page but not Blog Post’ is closed to new replies.