How to remove article separator?

Everything to do with Joomla! 1.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Locked
vezvon
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Tue Feb 26, 2008 2:58 pm

How to remove article separator?

Post by vezvon » Wed Apr 09, 2008 3:00 pm

Hi, I don't like my article separator, because it makes to big gap between module border and the text (see picture attached). So, I'd like to make that gap smaller or to delete article separator. Is there someone who knows the solution? btw I'm using module 'content item' to display content on frontpage, if that has something to do with it
You do not have the required permissions to view the files attached to this post.

vezvon
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Tue Feb 26, 2008 2:58 pm

Re: How to remove article separator?

Post by vezvon » Thu Apr 10, 2008 9:13 am

There must be someone who knows answer to this...??

GeoUK
Joomla! Guru
Joomla! Guru
Posts: 770
Joined: Thu Jun 01, 2006 9:28 am
Location: Scotland

Re: How to remove article separator?

Post by GeoUK » Thu Apr 10, 2008 12:03 pm

You might be able to replace the separator with a slimmer image or it may be the spacing around it that needs changed.

If you could post a link to your site I am sure someone would come up with a soution.

KiDQUiCK23
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Tue Apr 22, 2008 6:38 am

Re: How to remove article separator?

Post by KiDQUiCK23 » Tue Apr 29, 2008 5:32 am

If you want to completely remove the article separator, find and remove this line of code in /components/com_content/content.html.php (in a virgin Joomla 1.0.15 install this is line 542)
<span class="article_seperator">&nbsp;</span>

Note that this will affect the separator for ALL your content items on your site.

Also consider checking your template's CSS.

Cheers

User avatar
kai920
Joomla! Guru
Joomla! Guru
Posts: 542
Joined: Sun Sep 04, 2005 3:59 pm
Location: Hong Kong

Re: How to remove article separator?

Post by kai920 » Fri Jun 06, 2008 8:07 am

instead of hacking core code, use this CSS:

Code: Select all

span.article_seperator {display: none;}

danexo
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Apr 09, 2009 5:47 pm

Re: How to remove article separator?

Post by danexo » Thu Apr 09, 2009 5:59 pm

hi Joomsters,
I tried this CSS hack with no success in Joomla 1.5. :( Added it to my template.css file to no avail. Are you sure this CSS hack above should be working?
Can someone tell me the file location of <span class="article_seperator">&nbsp;</span> in Joomla 1.5?
It's not in /components/com_content/content.html.php (actually, that file doesn't exist now and it's not in /components/com_content/content.php either).
Thanks,
Dan

danexo
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Apr 09, 2009 5:47 pm

Re: How to remove article separator?

Post by danexo » Fri Apr 10, 2009 8:04 am

sorry ignore my message above - it was already in my CSS and I found it. oops!
Thx
Dan

bopartner
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Jan 22, 2009 5:03 am

Re: How to remove article separator?

Post by bopartner » Mon Oct 19, 2009 3:02 am

kai920 wrote:instead of hacking core code, use this CSS:

Code: Select all

span.article_seperator {display: none;}
I agree...rather than messing with core code it's much easier to tweak the CSS. For the horizontal separator modify .article_separator like kai920 mentioned above and for the vertical seperator modify .column_separator...in the template I was working with the .column_separator did not have the display attribute so I had to add display: none;

Talk to you later!

davindersangha
Joomla! Explorer
Joomla! Explorer
Posts: 275
Joined: Mon Mar 02, 2009 8:02 pm

Re: How to remove article separator?

Post by davindersangha » Thu Dec 03, 2009 9:38 am

On my company site, mph-uk.com, I have a problem in that there's a massive space when I use IE 7 between each article.

In IE 8 and Firefox it's fine, but IE 7 shows the big space between the articles. Tried lots of CSS work and template work, but no joy.

Can anyone help. Comments such as "use IE 8" are valid, but I've been told to make it compatible with IE 7 as well.

gayface
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Dec 29, 2009 4:35 pm

Re: How to remove article separator?

Post by gayface » Thu Jan 14, 2010 8:53 pm

kai920 wrote:instead of hacking core code, use this CSS:

Code: Select all

span.article_seperator {display: none;}
Thank you Kai!
The simplest answer is most often the best.

ecweb
Joomla! Apprentice
Joomla! Apprentice
Posts: 41
Joined: Wed Feb 04, 2009 5:04 am
Location: Melbourne Australia
Contact:

Re: How to remove article separator?

Post by ecweb » Thu Aug 30, 2012 1:03 am

Actually the code above has a typo - it should be:

Code: Select all

span.article_separator {display: none;}
Yours,
EC WEB / Joomla Web Design Services Melbourne
http://www.easyjoomla.com.au


Locked

Return to “Templates for Joomla! 1.5”