Help - Search - Members - Calendar
Full Version: all entries disappear on the main page
Movable Type Community Forum > Using Movable Type > Default Stylesheets
moi_britphile
i was using the default stylesheet and made a slight change of it, like colours, font size and fonts. and i edited the index template. after rebuilding everything, the weird thing happened. all entries on the main page just disappear!!! so i went check out the index template, but the entry stuff is still there.

okay, maybe give out the code would be clearer. can anyone take a look at it if i mess up some where? thank you!
moi_britphile
by the way, except editing the main index template, shall i "have to" edit the default_templates.pl? is it a must?

still wondering why the entries disappear... sad.gif

thank you.
gvtexas
QUOTE (moi_britphile @ Jan 30 2004, 12:27 AM)
okay, maybe give out the code would be clearer....

What would be even clearer is a link to your page so we can see the generated output.

smile.gif
moi_britphile
yeah sure if it does help! smile.gif

but i have edited the template and stylesheet for a bit just now, so it may not be the same as i gave out ealier.

and i was thinking if that's the stylesheet problem? because i searched some old posts and their solutions were to add or cross out something like "float", "margin" or "padding"...

here's the url:
http://www.meant-to-be.org/weblog/

and when you see my webpage's index, you would find that there are only the sidebar stuff, the entries dont show up at all, and i dunno where they are gone... sad.gif

by the way, the default stylesheet which i used was plain jane, if it could be another clue...

thanks!!!
gvtexas
Seeing you page showed me that the following is most likely the solution.

Go to your weblog config, preferences page and see what you have set for "number of days to display." I'll wager that you have that set to a number that doesn't have any entries created. According to your calendar, your last post was the 22nd...more than 7 days ago, and likely that option is set to 7?

Check that, and try creating a post for today. Note that if your posts aren't long enough or enough of them, the page may show the column wrapping underneath your entries.

Hope that helps!
moi_britphile
yes! the new entry is on the main page now, thank you so much biggrin.gif
but now, the sidebar wont go to the right side, it is displaying under the entry to the bottom...

i have changed and fixed for hours, it still keeps displaying under the entry. here are how #content and #link are like right now.

#content {
float:left;
position: relative;
width:60%;
background:#FFF;
margin-bottom:20px;
}

#links {
background:#FFF;
color:#999999;
margin-top:35px;
margin-left: 60%;
position: absolute;
}

is there some place i need to change or add?
gvtexas
Did you try this?

#content {
float:left;
width:60%;
background:#FFF;
margin-bottom:20px;
}

#links {
background:#FFF;
color:#999999;
margin-top:35px;
}
moi_britphile
i tried, but still the same result. is there any other way to fix this huh.gif as both of the codes dont work for my blog sad.gif

thank you smile.gif
gvtexas
QUOTE (moi_britphile @ Jan 30 2004, 11:54 PM)
i tried, but still the same result. is there any other way to fix this  huh.gif  as both of the codes dont work for my blog sad.gif

I just viewed your blog in both IE and Firebird, and it looks fine now...contents and links cols side-by-side with those codes for contents/links. If you're not seeing that, perhaps your browser needs refreshing or you need to clear its cache?

But from here it looks fixed! smile.gif
moi_britphile
oh yeh, i saw it now biggrin.gif thanks! i had refreshed my webpages a zillionth time by using f5, and refresh buttons,
but it just still looked the same, so i didnt know it has fixed already.

now i want to make the width of the sidebar a little bit narrow, and the space bigger between the content and
the sidebar, where should i edit it in stylesheet?

thanks again smile.gif
nammer
Well, look for the classes in your stylesheet labeled "side" and "sidetitle" - adjusting those will be a start - you may also want to take a look at your "content" div.

Does that help?

Donna
gvtexas
QUOTE (moi_britphile @ Jan 31 2004, 06:39 AM)
oh yeh, i saw it now biggrin.gif thanks! i had refreshed my webpages a zillionth time by using f5, and refresh buttons,
but it just still looked the same, so i didnt know it has fixed already

Shift-F5 as opposed to just F5 will force your browser to reload the page, overriding whatever cache settings you have.

And as nammer said...look at the settings you have that control width, gutters: width, margins, etc., and adjust those in contents, links, then also perhaps in your side/sidetitle classes.
moi_britphile
i deleted the first post's codes, or the screen would look so ugly tongue.gif

yeh, i've edited the stylesheet, thank both of you for telling me smile.gif i dont know if it's been fixed properly though. i rebuilt it over and over again, however, i dunno what was going on with my computer? browser? or my site? no matter how many times i pressed refresh or f5 or even shift-f5, it just still looks the same. so, i havent an idea if i have fixed it or not, thats why it makes the whole work done slowly sad.gif

anyhow, thank you so much smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.