Jump to content
  • 0

Flux cp - content out side of col structre


Question

Posted

Hi guys

This is the code i have in header.php

    <div class="container">
		<div class="row">
			<div class="col-md-3">
				<?php //include 'main/sidebar.php' ?>
			</div>
			<div class="col-md-6">
		

		<?php //include 'main/loginbox.php' ?>
					
			<?php if (Flux::config('DebugMode') && @gethostbyname(Flux::config('ServerAddress')) == '127.0.0.1'): ?>
				<p class="notice">Please change your <strong>ServerAddress</strong> directive in your application config to your server's real address (e.g., myserver.com).</p>
			<?php endif ?>
								
								<!-- Messages -->
								<?php if ($message=$session->getMessage()): ?>
									<p class="message"><?php echo htmlspecialchars($message) ?></p>
								<?php endif ?>
								
								<!-- Sub menu -->
								<?php include $this->themePath('main/submenu.php', true) ?>
								
								<!-- Page menu -->
								<?php include $this->themePath('main/pagemenu.php', true) ?>
								
								<!-- Credit balance -->
								<?php //if (in_array($params->get('module'), array('donate', 'purchase'))) include 'main/balance.php' ?>
		</div>
		<div class="col-md-3">
		</div>

as you can see the main bulk of content is in between <div class="col-md-6"></div> but when i load up the page (localhost only) and i examine the code the content is out side the <div class="container"></div>

I have been trying all day to figure out why it keeps doing it but to no avail, if anyone once could help me, I will be eternally grateful.

Kind regards58b87e6680f64_screenshot_issue1.thumb.jpg.c0d2a66a99146cec4aa2b9bf7ffa5494.jpg

5 answers to this question

Recommended Posts

  • 0
Posted

1st, bumping is bad. Have a warning point.

2nd, the code isn't outside of the container.

3rd, I don't think you're fully understanding what you're looking at. The data isn't inside the divs where it needs to be, so you just need to fix that.

Perhaps explaining what you're trying to do might help.

  • 0
Posted (edited)

My apologies for not following the rules will not happen again.

okay what i'm trying to achieve is content in the center of the page, sidebar on the left and right hence the <div class="col-md-3"></div>, <div class="col-md-6"></div>, <div class="col-md-3"></div>. = 12 coloumn grid system that bootstrap framework offers.

something like this

 

 

 

Edited by Poseidon
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...