Hello all!

I've made the slideshow bar smaller, and am now looking at having a 'What's New' Block in that remaining space. Only problem is I'm not sure how we would fit a plugin or an extra block in the empty space once the slideshow bar is condensed. I also just noticed a new issue today, that on internet explorer, it's displaying terribly while on Mozilla Firefox it's showing exactly how I like it to. Any ideas on either topic?

The test site is: www.jwprojects.ca/highland (which I've made the changes on) and the site I'd eventually like to implement this on is: www.highlandsecondary.ca

Thanks for any support you're able to give!

CommentFileSizeAuthor
#1 example.jpg58.61 KBcrispysqu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

crispysqu’s picture

FileSize
58.61 KB

Hey jwilander,

While I do not know of a way to accomplish this through administration >> settings in the Marinelli theme, it can be done by loading the slideshow.css file (located at /sites/all/themes/marinelli/css) in an editor and modifying the dimensions under the #header-images ID (see example image attach). Hope this helps!

-- Chris

Carlos Miranda Levy’s picture

Version: 7.x-3.0-beta9 » 7.x-3.0-beta11

You may want to try putting some content within the banner.
The logo on top plus ad banners above content pushed the content on my websites too low on the page.

So I did some small changes on page.tpl.php to place the logo, the site title and slogan inside the banner. No need to make changes on css or other files.

I have indicated my changes with

comments in the code.

I also created a new region to display a 728x90 banner ad within the banner, which I declared on my modified subtheme.info file. Just ignore the

section if you don't want that. The code below will place the logo, site title and slogan inside and above the banner slideshow.

You can see some early samples at http://portal.redcubana.com and http://portal.redboliviana.com

page.tpl.php

<?php // page template ?>

<?php if($page['topbar']): ?>
  <!--start top bar-->
  <div id="topBar" class="outsidecontent">
    <div id="topBarContainer" class="<?php print $layout_width; ?>">
    <?php print render($page['topbar']); ?>
    </div>
  </div>

  <div id="topBarLink" class="outsidecontent<?php !$topRegion ? print " withoutTopRegion": print ""; ?>">
    <?php print $topbarlink; ?>
  </div>
  <!--end top bar-->
<?php endif; ?>

<!--start framework container-->
<div class="container_12 <?php print $layout_width; ?>" id="totalContainer">
  <?php if($topRegion): ?>
    <!--start top section-->
	<!--CML Killed #top .outsidecontent-->
    <!--div id="top" class="outsidecontent"-->

    <!--CML: note that this utility area is only visible in Firefox-->
      <?php if($page['utility_top']): ?>
        <!--start top utility box-->
        <div class="utility" id="topUtility">
          <?php print render($page['utility_top']); ?>
        </div>
        <!--end top utility box-->
      <?php endif; ?>
      <!--start branding-->
	  <!-- CML this was branding -->
      <!--div id="branding"-->
		<!-- CML this was logo -->
		<!-- CML this was site name and slogan -->
      <!--/div-->
	  <!-- CML end of old branding -->
      <!--end branding-->

	  <!--CML disable: use blocks for search-->
      <!--?php if($page['search']): ?-->
        <!--start search-->
        <!--div id="search"-->
          <!--?php print render($page['search']); ?-->
        <!--/div-->
        <!--end search-->
      <!--?php endif; ?-->
	  <!--CML end old search-->

    <!--/div-->
	<!--CML end of killed #top .outsidecontent-->
    <!--end top section-->
  <?php endif; ?>
<p>yellow</p>        
  <?php if($mainmenu): ?>
    <!--start main menu-->
    <div id="navigation-primary" class="sitemenu">
      <?php print $mainmenu; ?>
    </div>
    <!--end main menu-->
  <?php endif; ?>

  <!--border start-->
  <div id="pageBorder" <?php print $noborder; ?>>
    <?php if ((!$usebanner && $page['advertise']) || ($usebanner && $banner_image)): ?>
      <!--start advertise section-->
      <div id="header-images" <?php print ($usebanner == 0) ? 'class="unlimited"' : ""; ?>>
        <?php if (!$usebanner): // Use drupal region ?>
          <?php print render($page['advertise']); ?>
        <?php elseif ($banner_image): // Use marinelli banners ?>
<!-- CML Disabled Branding -->
		<!--div id="branding"-->
<!-- CML Logo -->
        <?php if($logo): ?>
          <div id="logo-container" style="position:absolute; left:10px; top:10px; z-index:1000;">
            <?php print $imagelogo; ?>
          </div>
<!-- CML Site Title and Slogan-->
        <?php if($site_name || $siteslogan ): ?>
          <!--start title and slogan-->
          <div id="title-slogan" style="position:absolute; left: 175px; top:10px; z-index:1000;">
            <?php if($site_name): ?>
              <?php print $sitename; ?>
            <?php endif; ?>

            <?php if($site_slogan): ?>
              <?php print $siteslogan; ?>
            <?php endif; ?>
          </div>
          <!--end title and slogan-->
        <?php endif; ?>
<!--/div-->
<!-- CML End Disabled Branding-->
<!-- CML Region inside Banner (optimized for 728x90 ad) -->
		<?php if($page['cml_inside']): ?>
          <!--start cml_inside-->
          <div id="cml_inside" style="position:absolute; top:125px; left: 145px; z-index:1000;">
            <?php print render($page['cml_inside']); ?>
		  </div>
          <!--end cml_inside-->
		<?php endif; ?>
<!-- CML End Region inside Banner -->
<!-- CML end layout changes-->
        <?php endif; ?>
          <?php print $banner_text; ?>
          <?php print $banner_nav; ?>
          <?php print $banner_image; ?>
        <?php endif; ?>
      </div>
      <!--end advertise-->
    <?php endif; ?>
		
		<?php if ($secondary_menu): ?>
      <!--start secondary navigation-->
      <div id="navigation-secondary" class="sitemenu">
        <?php print theme('links', array('links' => $secondary_menu, 'attributes' => array('id' => 'secondary-menu', 'class' => array('links', 'clearfix', 'secondary-menu')))); ?>
      </div>
      <!--end secondary-navigation-->
    <?php endif; ?>

    <!-- start contentWrapper-->
    <div id="contentWrapper">
      <!--start breadcrumb -->
      <?php if($breadcrumb): ?>
        <div id="breadcrumb"><?php print $breadcrumb; ?></div>
      <?php endif; ?>
      <!-- end breadcrumb -->
		
	  <?php if($page['overcontent']): ?>
        <!--start overcontent-->
        <div class="grid_12 outofContent" id="overContent">
          <?php print render($page['overcontent']); ?>
        </div>
        <!--end overContent-->
      <?php endif; ?>

      <!--start innercontent-->
			<div id="innerContent">

        <!--start main content-->
				<div class="<?php print marinelli_c_c($page['sidebar_first'], $page['sidebar_second'], $layoutType,$exception); ?>" id="siteContent">
					<?php if($page['overnode']): ?>
            <!--start overnode-->
            <div class="outofnode" id="overNode">
              <?php print render($page['overnode']); ?>
            </div>
            <!--end over node-->
					<?php endif; ?>
	   				
	   			<?php if ($page['highlight']): ?>
	   				<div id="highlight">
	   					<?php print render($page['highlight']); ?>
	   				</div>
          <?php endif; ?>
		           	
		      <?php print render($title_prefix); ?>

          <?php if ($title): ?>
            <h1 id="page-title"><?php print $title; ?></h1>
          <?php endif; ?>

          <?php print render($title_suffix); ?>
          <?php print $messages; ?>

          <?php if ($tabs): ?>
            <div class="tab-container">
              <?php print render($tabs); ?>
            </div>
          <?php endif; ?>

          <?php print render($page['help']); ?>

          <?php if ($action_links): ?>
            <ul class="action-links"><?php print render($action_links); ?></ul>
          <?php endif; ?>

          <!--start drupal content-->
          <div id="content">
            <?php print render($page['content']); ?>
          </div>
          <!--end drupal content-->

          <?php print $feed_icons ?>

          <?php if($page['undernode']): ?>
            <!--start undernode-->
            <div class="outofnode" id="underNode">
              <?php print render($page['undernode']); ?>
            </div>
            <!--end under node-->
          <?php endif; ?>

        </div>
        <!--end main content-->
	 			
          <?php if($page['sidebar_first'] && $page['sidebar_second'] && theme_get_setting('layout_type') != 2): ?>
          <div class="<?php print marinelli_w_c($layoutType); ?>" id="sidebarWrapper">
            <!--start oversidebars-->
	        	<?php if($page['oversidebars']): ?>
		    			<div class="outofsidebars grid_6 alpha omega" id="overSidebars">
                <?php print render($page['oversidebars']); ?>
              </div>
            <?php endif; ?>
            <!--end over sidebars-->
        <?php endif; ?>
		    		
		    <?php if($page['sidebar_first']): ?>
          <!--start first sidebar-->
          <div class="<?php print marinelli_s_c($page['sidebar_first'],$page['sidebar_second'],$layoutType,1); ?> sidebar" id="sidebar-first">
						<?php print render($page['sidebar_first']); ?>	
          </div>
          <!--end first sidebar-->
        <?php endif; ?>
		    
        <?php if($page['sidebar_second']): ?>
          <!--start second sidebar-->
          <div class="<?php print marinelli_s_c($page['sidebar_first'],$page['sidebar_second'],$layoutType,2); ?> sidebar" id="sidebar-second"><!--start second sidebar-->
            <?php print render($page['sidebar_second']); ?>
          </div>
          <!--end second sidebar-->
        <?php endif; ?>
						
						
				<?php if($page['sidebar_first'] && $page['sidebar_second'] && theme_get_setting('layout_type') != 2): ?>
          <?php if($page['undersidebars']): ?>
            <!--start undersidebars-->
            <div class="outofsidebars grid_6 alpha omega" id="underSidebars">
              <?php print render($page['undersidebars']); ?>
            </div>
            <!--end under sidebars-->
          <?php endif; ?>
          </div>
          <!--end sidebarWrapper-->
        <?php endif; ?>

      
      </div>
      <!--end innerContent-->


      <?php if($page['undercontent']): ?>
        <!--start underContent-->
				<div class="grid_12 outofContent" id="underContent">
          <?php print render($page['undercontent']); ?>
        </div>
        <!--end underContent-->
      <?php endif; ?>
    </div>
    <!--end contentWrapper-->

	</div>
  <!--close page border Wrapper-->

  <?php if($page['footer'] || $page['utility_bottom']): ?>
    <!--start footer-->
    <div id="footer" class="outsidecontent">
      <?php print render($page['footer']); ?>

      <?php if($page['utility_bottom']): ?>
        <!--start bottom utility box-->
        <div class="utility" id="bottomUtility">
          <?php print render($page['utility_bottom']); ?>
        </div>
        <!--end bottom utility box-->
      <?php endif; ?>
    </div>
    <!--end footer-->
  <?php endif; ?>

</div>
<!--end framework container-->


jwilander’s picture

Hi there.

I have made the slider smaller on my test site, www.jwprojects.ca/highland and was wondering if you could take a look.

Do you know if it's at all possible to add text, and or a widget into the empty space beside the slider that I've made?

Any help is greatly appreciated!

jwilander’s picture

Issue summary: View changes

Error in previous post.

jwilander’s picture

Issue summary: View changes

Updated information.