- Posts: 2
- Thank you received: 0
How i can change the width of a module?
How i can change the width of a module? was created by Webpiper
Hallo,
i need help!
I want to change the width and the position of the headsearch, because I want to put a “Custom HTML”-Module there. It should be a H1-Header.
Sorry for the bad englisch, I´m a German.
i need help!
I want to change the width and the position of the headsearch, because I want to put a “Custom HTML”-Module there. It should be a H1-Header.
Sorry for the bad englisch, I´m a German.
Last edit: 10 years 1 month ago by admin.
Please Log in or Create an account to join the conversation.
Replied by admin on topic How i can change the width of a module?
Hello
1-first open templates\maxx\tpls\blocks\header.php and find the codes below
2-Replace them with that codes
3-That will narrow logo space 4/12 and the increase the head-search area to 8/12
1-first open templates\maxx\tpls\blocks\header.php and find the codes below
Code:
<!-- LOGO -->
<div class="span8 logo">
<div class="logo-<?php echo $logotype ?>">
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
<span><?php echo $sitename ?></span>
</a>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</div>
</div>
<!-- //LOGO -->
<?php if($this->countModules('head-search or languageswitcherload')): ?>
<div class="span4 header-right">
<?php if ($this->countModules('head-search')) : ?>
<!-- HEAD SEARCH -->
<div class="head-search<?php $this->_c('head-search')?>">
<jdoc:include type="modules" name="<?php $this->_p('head-search') ?>" style="raw" />
</div>
<!-- //HEAD SEARCH -->
<?php endif ?>
2-Replace them with that codes
Code:
<!-- LOGO -->
<div class="span4 logo">
<div class="logo-<?php echo $logotype ?>">
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
<span><?php echo $sitename ?></span>
</a>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</div>
</div>
<!-- //LOGO -->
<?php if($this->countModules('head-search or languageswitcherload')): ?>
<div class="span8 header-right">
<?php if ($this->countModules('head-search')) : ?>
<!-- HEAD SEARCH -->
<div class="head-search<?php $this->_c('head-search')?>">
<jdoc:include type="modules" name="<?php $this->_p('head-search') ?>" style="raw" />
</div>
<!-- //HEAD SEARCH -->
<?php endif ?>
Last edit: 10 years 1 month ago by admin.
Please Log in or Create an account to join the conversation.
Replied by Webpiper on topic How i can change the width of a module?
Thank you! It works!
Please Log in or Create an account to join the conversation.
Time to create page: 0.323 seconds
Planis Video Gallery - Movie Template
COM_CONTENT_ARTICLE_HITS
Commercial Templates
Noachis Art Gallery and Photography Joomla Template
COM_CONTENT_ARTICLE_HITS
Commercial Templates
Jadran Business Finance Joomla 5 and Joomla 4 Template
COM_CONTENT_ARTICLE_HITS
Commercial Templates
Fotorama Responsive Gallery
COM_CONTENT_ARTICLE_HITS
Commercial Extensions
JT Instagram Feed Joomla Module
COM_CONTENT_ARTICLE_HITS
Commercial Extensions
Columnist JT1
COM_CONTENT_ARTICLE_HITS
Commercial Extensions
MansetHaber JT2
COM_CONTENT_ARTICLE_HITS
Commercial Extensions
Amitza Joomla News and Magazine Template
COM_CONTENT_ARTICLE_HITS
Commercial Templates
Nonda Online Music Radio Station Joomla Template
COM_CONTENT_ARTICLE_HITS
Commercial Templates
Headline JT3
COM_CONTENT_ARTICLE_HITS
Commercial Extensions
ArcMed Joomla Medicine Template
COM_CONTENT_ARTICLE_HITS
Commercial Templates
Accordion Content JT1
COM_CONTENT_ARTICLE_HITS
Commercial Extensions
Smooth Animating Sidepanel
COM_CONTENT_ARTICLE_HITS
Commercial Extensions
Andalusa Business-Corporation Joomla Template
COM_CONTENT_ARTICLE_HITS
Commercial Templates
Carousel JT1
COM_CONTENT_ARTICLE_HITS
Commercial Extensions
JT Columnar Columnist Module
COM_CONTENT_ARTICLE_HITS
Commercial Extensions
MansetHaber JT1
COM_CONTENT_ARTICLE_HITS
Commercial Extensions
Eranews Joomla News and Magazine Template
COM_CONTENT_ARTICLE_HITS
Commercial Templates
Vertical Scroller JT1 Pro
COM_CONTENT_ARTICLE_HITS
Commercial Extensions
Headline JT5
COM_CONTENT_ARTICLE_HITS
Commercial Extensions
Atomizer Multi-Purpose Joomla Template
COM_CONTENT_ARTICLE_HITS
Commercial Templates
Islamic Center Joomla Template
COM_CONTENT_ARTICLE_HITS
Commercial Templates
Maxx Responsive Joomla! Template
COM_CONTENT_ARTICLE_HITS
Commercial Templates
Quantas Business and Construction Joomla 4 and 5 Template
COM_CONTENT_ARTICLE_HITS
Commercial Templates
JoomlaTema and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.
Copyright ©Joomlatema.Net
All Rights Reserved. Designed by JoomlaTema