Results 1 to 7 of 7

Thread: Remove classified description from index

  1. #1
    Thread Starter
    Rookie
    Not a Verified Customer
    aramis's Avatar
    Join Date
    May 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Remove classified description from index

    Hi guys!
    I want to remove the description on the main page.
    So, i've eliminated the:

    Code:
    <?php echo substr(strip_tags($post->post_content), 0, 190)."...";?>
    So far so good.
    Now I want to decrease the height of each entrance rectangle because I'm using the icons instead the pictures of the classified and each field is bigger than I wanted.
    How do I decrease this height, for example, to half of its original size?
    Thanks

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,009
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts

    Re: Remove classified description from index

    You need to change some codes in the css.

    Just use a Firefox addon called Firebug, so that you can easily find the css element you want to edit.
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    Rookie
    Not a Verified Customer
    aramis's Avatar
    Join Date
    May 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove classified description from index

    Jomark, Firebug is AWESOME, thanks!!!
    But one thing that I can't remove is the underline of the classified title

  4. #4
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,009
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts

    Re: Remove classified description from index

    You can fix that in two ways

    1. Including this tag to the css

    Code:
    style="text-decoration:none"
    The above css tag will remove all the underline on your site's hyperlinks;

    2. Just add this tag to a particular url/hyperlink;

    Code:
    style="text-decoration:none"
    Just like this;
    Code:
    LA Dentist
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  5. #5
    Thread Starter
    Rookie
    Not a Verified Customer
    aramis's Avatar
    Join Date
    May 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove classified description from index

    Thanks Jomark.
    I've tried that before but the underline on the classified name simply doesn't disappear

  6. #6
    Veteran taylerj's Avatar
    Join Date
    Apr 2009
    Location
    Las Vegas, NV
    Posts
    380
    Thanks
    1
    Thanked 8 Times in 6 Posts

    Re: Remove classified description from index

    Thats because the css for the underline on the text is on the div itself, nor is it a link so the way Jomark shows will not work. The div does not have a class or ID so you must do it in the php file.

    Open your "index.php" file.

    About line 104 you should see this bit of code.

    Code:
    <div style="text-decoration:underline; font-weight:bold;">
    Change it to this.

    Code:
    <div style="font-weight:bold;">
    Eric is best known in the forum for his in depth tutorials. He started in design 4 years ago and then discovered WordPress and has been coding and hacking themes and plugins ever since. He's quite helpful if you have any questions for him in the forum. Eric also makes his own WordPress themes and plugins and provides ClassiPress consulting on the side. David Cowgill - (Owner of Classipress)

  7. #7
    Thread Starter
    Rookie
    Not a Verified Customer
    aramis's Avatar
    Join Date
    May 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove classified description from index

    Perfect taylerj!!!
    Thanks to both of you guys!
    Great support forum you have here, congratulations!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)