Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Logo, Login-Mask and Modules are too far apart on the homepage

9 years 1 month ago
  • André's Avatar
    Topic Author
  • André
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi there

The logo and the login mask also the modules under the login mask are too far apart. how can i do that just on the frontpage, that all this things are closer together?

for ex.: when i do the following code:

.t3-has-navbar {
padding-top: 20px;
}

then this is also a problem when i login because of the "navbar".

so i just need a solution for just styling the frontpage!

this problem is also on the pc screen and also in the mobile screen.

thanks for your quick help,
andre

9 years 1 month ago
Licenses:

Hi,

here the steps:
please copy guest.php from /components/com_community/templates/jomsocial/layouts/frontpage/ to /templates/socialize/html/com_community/layouts/frontpage/ if this location not exist yet under socialize location, please create it.

edit that file at new location. adn put this new code at line 12

<?php $user =& JFactory::getUser(); ?>

<?php if( $user->guest ): ?>
<style>
.t3-has-navbar {
padding-top: 20px;
}
</style>
<?php endif; ?>

Regards

9 years 1 month ago
  • André's Avatar
    Topic Author
  • André
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

hi

thanks for your help. but at line 12 is a "description". in the attachment the file - can u do it for me and send me this back?

thanks,
andre

9 years 1 month ago
  • André's Avatar
    Topic Author
  • André
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Ok, this works fine!

But the same problem is with the Module Position 5,6,7 and 8 and also Bottom 1,2,3 and 4.

Can u help me also please with this?

thanks,
andre

9 years 1 month ago
  • André's Avatar
    Topic Author
  • André
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi

What i said, i need help with the same issue with the modul position 5,6,7 and 8 and also Bottom 1,2,3 and 4 with the distance.

Also with the logo, on the homepage (frontpage) works fine, but when i click on "Forgot Username? Forgot Password? Resend activation link?" then the same problem like in the first post is there - the logo is too much below.

can u help me to fix this issues asap?

it's important.

thanks,
andre

9 years 1 month ago
Licenses:

Hi,

here the steps that I did:
1. delete the override file from my prev post.
2. at socialize template manager (joomla backend), I clone the social template to social-with-guest-class
3. edit /templates/socialize/local/tpls/social-with-guest-class.php
and change the code to

<?php
/** 
 *------------------------------------------------------------------------------
 * @package       T3 Framework for Joomla!
 *------------------------------------------------------------------------------
 * @copyright     Copyright (C) 2004-2013 JoomlArt.com. All Rights Reserved.
 * @license       GNU General Public License version 2 or later; see LICENSE.txt
 * @authors       JoomlArt, JoomlaBamboo, (contribute to this project at github 
 *                & Google group to become co-author)
 * @Google group: https://groups.google.com/forum/#!forum/t3fw
 * @Link:         http://t3-framework.org 
 *------------------------------------------------------------------------------
 */


defined('_JEXEC') or die;
?>

<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"
	  class='<jdoc:include type="pageclass" />'>

<head>
	<jdoc:include type="head" />
	<?php $this->loadBlock('head') ?>
</head>

<?php
if ($this->countModules('top-header')) :
$user =& JFactory::getUser();
?>

<body class="t3-has-navbar <?php echo ($user->guest) ? 'guest' : ''; ?>">
<?php else: ?>
<body>
<?php endif; ?>

<div class="t3-wrapper"> <!-- Need this wrapper for off-canvas menu. Remove if you don't use of-canvas -->

  <div class="no-header">
    <?php $this->loadBlock('top-header') ?>
  </div>

  <?php $this->loadBlock('mainnav') ?>

  <?php $this->loadBlock('home-wide') ?>

  <?php $this->loadBlock('breadcrumbs') ?>

  <?php $this->loadBlock('top') ?>

  <?php $this->loadBlock('spotlight-1') ?>

  <?php $this->loadBlock('mainbody') ?>

  <?php $this->loadBlock('spotlight-2') ?>

  <?php $this->loadBlock('bottom') ?>

  <?php $this->loadBlock('navhelper') ?>

  <?php $this->loadBlock('footer') ?>

</div>

</body>

</html>
so if as guest user. the html body will bring 'guest' class. this is use full for guest only CSS code.
and I put this custom CSS code
.t3-has-navbar.guest {
  padding-top: 20px;
}

.guest .t3-bottom {
  padding-top: 0;
}

.view-frontpage .guest .jomsocial-wrapper {
  height: 0;
}

.guest .t3-module {
  padding-bottom: 0;
  margin-bottom: 0;
}

.guest .jomsocial-wrapper .jomsocial {
  min-height: 0;
}

at templates/socialize/css/custom.css


Regards

The following user(s) said Thank You: André
9 years 1 month ago
  • André's Avatar
    Topic Author
  • André
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi Albertus

This is very, very, very nice from you!!! TOP WORK!!!

... but :-( ... on the mobile-view the login-area is missing :-(

can u please check?

many, many thanks,
andre

9 years 1 month ago
Licenses:

Hi,

sorry, it was my mistake. I changed it to

.t3-has-navbar.guest {
  padding-top: 20px;
}

.guest .t3-bottom {
  padding-top: 40px;
}

.view-frontpage .guest .jomsocial-wrapper {
  height: auto;
}

.guest .t3-module {
  padding-bottom: 0;
  margin-bottom: 20px;
}

.guest .jomsocial-wrapper .jomsocial {
  min-height: 0;
}

Regards

The following user(s) said Thank You: André
9 years 1 month ago
  • André's Avatar
    Topic Author
  • André
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi Albertus

Thanks for your work!

The last issue who i've is, when u safe this site on the mobile "Add to home screen" is nice, that the field who we can type the www-address is is missing - thats nice - BUT the logo is too much below.

but when i looking the site in the mobile view without "Add to home screen" than is nice and works fine.

can u please have a look?

thanks for your help... i dont know how can i say thanks to you!!!

andre

9 years 1 month ago
Licenses:

Hi,

for other issue. please open new topic for that.
it will help other members if got same issue. more easy to search.

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW