Jump to content


Photo

Customizing search page + StationPro


This topic has been archived. This means that you cannot reply to this topic.
8 replies to this topic

#1 n30

n30

    Member

  • Members
  • PipPip
  • 18 posts

Posted 30 April 2010 - 03:55 PM

Hello, how are you? I would like to customize my search page, I want the search results are displayed in full screen, I mean, something similar to the template "Full Width Page". I want it to search page does not include the "sidebar" and display the results as the sample template "Full Width Page". What should I do? Thanks for your responses.

#2 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts

Posted 30 April 2010 - 04:44 PM

modify the search.php file so that it doesn't have the get_sidebar call. Then I can help you create some css to make it full width.

#3 n30

n30

    Member

  • Members
  • PipPip
  • 18 posts

Posted 01 May 2010 - 06:22 PM

Hi, how are you?

Ready, the code was as follows:

 <?php get_header(); ?>
	
	        <div id="content" class="fix" role="main">
	                <div id="maincontent">
	                        <?php include (LIB . '/_posts.php'); ?>
	                </div>
	
	</div>
	
	<?php get_footer(); ?>

The page looks like:

http://ventura-syste.../screenshot.png

So, can you help me with the css?

Thank you.

#4 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts

Posted 03 May 2010 - 04:22 PM

Doin well thanks! Anyway for me to get a live link, it would be much easier for me so I can find the correct classes and ID's

#5 n30

n30

    Member

  • Members
  • PipPip
  • 18 posts

Posted 04 May 2010 - 02:12 AM

Hi, have you been? You're right: http://calderoncardona.com/?s=ferrari Thank you.

#6 bryan-hadaway

bryan-hadaway

    Advocate

  • Members
  • PipPipPipPipPip
  • 3697 posts

Posted 04 May 2010 - 04:14 AM

Change search.php to this:

 <?php get_header(); ?>
	
	        <div id="fullwidth">
		<div id="content" class="fix" role="main">
			<div id="maincontent" class="fix">
				<?php include (LIB . '/_posts.php'); ?>
			</div>
		</div>
	
	</div>
	
	<?php get_footer(); ?>

Upload it, refresh and check it out.

If that does the trick please be sure and mark this thread as Resolved.

Thanks, Bryan

#7 n30

n30

    Member

  • Members
  • PipPip
  • 18 posts

Posted 04 May 2010 - 01:52 PM

Hi, how are you? It works, but does not look good. Missing a line to close the page of results: http://calderoncardona.com/?s=ferrari http://calderoncardo...om/?s=seguridad Thank you.

#8 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts

Posted 04 May 2010 - 05:39 PM

simple fix. Add this custom css in the your theme options `.search #content {border-bottom:1px solid #282828;}`

#9 n30

n30

    Member

  • Members
  • PipPip
  • 18 posts

Posted 05 May 2010 - 03:38 AM

Terrific!. Thank you very much to both.