Recent Topics

1 Jun 23, 2005 05:57    

Hello, this should be quick (I hope :-/)

I've been fiddling around with the default template (blogs/skins/custom/_main.php) and I have it pretty much the way I want it except I was wondering if I could take out a line within the header. For the entries' date header, it looks like this:

______

6/22/05
______

Now, I was wondering if I could take out the top line so that it would just read the date and a quick underline.

I don't know if this has anything to do with it, but I completely took out the title header and the sidebar. Is that line above the date a remnant of one of the existing elements, or is that just how it is?

Thanks!

2 Jun 23, 2005 08:29

look in the css file of the custom skin for the style of <h2>

3 Jun 23, 2005 08:57

Here's what I have:

h2 {
	color: #333333;
	font-size: 180%;
	margin: 0;

and then:

* Styles for main area (left) */
h2 {
	margin: 1ex;
	border-bottom: 1px solid #333333;
}

I've tried omitting the border-bottom part but it's still showing the double line.

4 Jun 23, 2005 09:06

since I knew the default layout for the date was
date_if_changed( $before='<h2>', $after='</h2>', $format='' )
I thought is was that.
Can you give an URL, so I can look what class it is the date is shown in (or you can have a look.
look in your browser, do view-source and look for the date.
You then see the class, and you can then do a lookup for that class..

6 Jun 23, 2005 12:59

Well, it is very clear that it is the this part in your CSS

* Styles for main area (left) */ 
h2 { 
   margin: 1ex; 
   border-bottom: 1px solid #333333; 
} 

if you replace it with :

* Styles for main area (left) */ 
h2 { 
   margin: 1ex; 
   border: 0px; 
} 


does that still shows up ?

7 Jun 23, 2005 13:54

Ah there we go, works perfectly. At first I tried just omitting the border-bottom line, instead of making it 0px. Thanks for the fix.


Form is loading...