hide content on the first page

  • milimar
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
10 years 9 months ago #37983 by milimar
Hi, could you please tell me how to hide content on the first page?

Thanks.

Please Log in to join the conversation.

More
10 years 9 months ago #37986 by ivan.milic
Use Featured articles type without having actual featured articles.

Please Log in to join the conversation.

  • milimar
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
10 years 9 months ago #37990 by milimar
Thank you for your fast answer, but here is the real problem: -

Three weeks and 4 days ago, you were asked by the member named ipublivoro this question" I would like that the footer is always at the bottom of the page even when the content is short." and your answer was " Best thing you can do is to add min-height on content area:

Add to layout.css:

.content_sparky{
min-height:600px;
}"

So, I tried to hide content by using featured articles type without having actual featured articles, but I also want the footer is always at the bottom of the page even when the content is short, and I also used min-height for .content_sparky and an empty space of 600px appears on the front page, any suggestion Ivan?
Here is a test site if you need it: milimar.info/winery/index.php/en/ . Thanks is advance.

Please Log in to join the conversation.

More
10 years 9 months ago #37992 by ivan.milic
The obvious but bad solution is to use fixed positioning. Why - because mobile browser and creates mess on mobile phones. I like utility bottom bars approach too but I had to quit on that for now.

So best solution is co just make central content area have some minimal height

Please Log in to join the conversation.

  • milimar
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
10 years 9 months ago #38007 by milimar
Thanks Ivan for your answer. I have to say that for the moment I am only testing sparky framework and I do not know yet if I will really use it after some testing period, so if I do not bother please continue answering my questions. However, it is already notorious that sparky framework is good and creative and it is a big thing that you are offering even a free version that is great too.
I thing that maybe I did not explained well the problem I found testing, so this time I will try to make my question shorter and clearer.

Question: I would like to use the code -

.content_sparky{
min-height:600px;
}
, but I do not want this code to affect my home page. Is it possible to do it?

Here I give an explanation why is that important:- Let's say you want to make a website that on the home page will have only modules (no content- articles) , but you also have pages with very short articles, one or two lines of text. If you do not use minimal height, on the pages with short articles the copyright, the footer, and all other rows below the content will go up leaving an empty space below them. On the other side, if you use a minimal height code, the pages with short articles will look good, but on the home page will appear empty space at the place where the article should be if were not hidden. All this can be seen here milimar.info/winery/index.php/en/ . Thanks.

Please Log in to join the conversation.

More
10 years 9 months ago #38014 by ivan.milic
Yes , just use:

.sparky_inner .content_sparky{
min-height:600px;
}

Please Log in to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum