Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Slight adjustment needed for my wordpress theme WordPress

  • SOLVED

Hi

I have the Sahifa - Responsive WordPress News,Magazine,Blog theme from themeforst.

Can someone please help me with this theme? I’m looking to have the home page as a complete white canvas meaning I need to remove the word “Home” that sits on the home page and also the grey divider line that's underneath the word 'Home' I only want to do this for the home page and not all of the pages.

I have attached a screen grab of the page so you can see what I need doing.

Thank you in advanced.

Answers (3)

2013-06-25

Giri answers:

I think I misunderstood your question. I thought you were talking about menus

Goto wp-admin -> sahifa -> sahifa settings -> styling -> global css -> paste following code

Here is the correct code

.home .entry-title,.home .post-meta {
display:none !important;
}


Giri comments:

To hide home icon on home page use this code

.home li#menu-item-148 {
display:none !important;
}


Giri comments:

So the total code will be

.home #main-nav {
border-bottom: none !important;
}
.home li#menu-item-148 {
display:none !important;
}


Giri comments:

I think I misunderstood your question. I thought you were talking about menus

Goto wp-admin -> sahifa -> sahifa settings -> styling -> global css -> paste following code

Here is the correct code
.home .entry-title,.home .post-meta {
display:none !important;
}


randrade comments:

Hi Giri

Thanks for all your help, your line of code has done the trick. Thanks again and the payment is yours.

Rob


Giri comments:

Thanks rob,

You should vote my answer to give me the prize. I think you are a newbie here. So check this tutorial

[[LINK href="http://blog.tailormadeanswers.com/2011/04/22/voting-assign-prize-money/"]]http://blog.tailormadeanswers.com/2011/04/22/voting-assign-prize-money/[[/LINK]]

2013-06-25

Albert Shala answers:

Hi randrade,

I don't see the attachment, can you upload it again or post a link.


randrade comments:

Hi Albert,

Here is the link to the website www.cityquick.co.uk

Many thanks

Rob


Albert Shala comments:

Alright I see what you mean, for that you will need to remove a call to the page title on the home template, easy fix pm your template or a screenshot of it and I can tell you what line number to edit.

Basically you need to remove: <h1 itemprop="name" class="name post-title entry-title">Home</h1> & <p class="post-meta"></p>


randrade comments:

Thanks for all you help Albert but Giri has sorted it with the line of code he supplied in his post. Thanks again!

2013-06-25

Hariprasad Vijayan answers:

Hello,

Can you show the code in index.php of your theme.


Hariprasad Vijayan comments:

Hello,

Add this code in header.php

<?php
if(is_home())
{
?>
<style type="text/css">
.post-inner .post-title,.post-inner .post-meta {
display:none !important;
}
</style>
<?php
}
?>