Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Padding-top on main article content

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Small question, regarding styling. For some reason I have quite a large white space between article image with my templates, between print/mail icon and actual article content/text:

Checking CSS, it looks like both demo templates and mine has same padding-top:90px value, but on demo pages an Section.artcile-content class is located higher than on my site. What settings can affect that?
Here it look normal spacing, which I want:

test.redlinia.com/index.php/joomla/single-article
or demo.joomlabamboo.com/index.php?theme=aug15


Here on my example article text starts too low, on those extra 90px :
places.redlinia.com/vancouver/stanley-park

I can override style I guess as workaround but curious what is difference beteen my and demo template then?
  • Eugene's Avatar
  • Eugene
  • 12 Month basic
  • 70 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi Eugene,

Apologies for the delay.

I'm not 100% sure I'm seeing the difference between the demo and your links. Is it at a specific screen size or browser?
Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Hi Anthony. I added extra lines to custom css:
#midCol .clearfix {
zoom: 1;
clear: both;
float: left;
width: 100%;}

so it look fine now.

For some reason mine template rendered with .clearafix class only
clear:both line, but demo had all lines as above. In demo install I can see class comes from zentools css file

I can remove those so you can see an issue, just wondering why there is an difference between css styling with mine and demo? Using same settings/theme for template though.
  • Eugene's Avatar
  • Eugene
  • 12 Month basic
  • 70 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
Are you able as a test to enable the breadcrumb module? and temporarily comment out the css you added

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I has actually breadcrumb module enabled all the time, but it is in "position-2", which is seems set by default, as I didn't change anything there after template install and it doesn't look like Gazetta has Position-2. I assume I need to move it to Breadcrumb position for test

Let me play with that module and Ill let you know my finding
  • Eugene's Avatar
  • Eugene
  • 12 Month basic
  • 70 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
thanks

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul, I did change breadcrumb position, but it didn't help in anyway. If I commented css, it has white space more than usual still.
  • Eugene's Avatar
  • Eugene
  • 12 Month basic
  • 70 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
hmm not sure why this is different it must be a setting somewhere

if it becomes a problem please create a ticket and we can take a look

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers