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.

Homepage adjustments

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

Hi Bob,

These changes don't cause this - have you changed something else?

The custom.css isn't valid at the moment - this is better although I've forgotten what the first line was for

.itemid-435 .mainwrap.zen-spotlight {background: rgba(246,246,246, 0.4);}

.itemid-435 .mainwrap.zen-spotlight {background: transparent; box-shadow: 0 0 0;}

.itemid-435 .main-content-inner {background:rgba(255,255,255, 1.0); padding:1em 1em 0 1em}

.mainwrap .moduletable.myLatest {background:rgba(255,255,255, 1.0);}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

Sorry to hit you with two replies (this is the second one), but I've been playing with the Onepage functionality in the template and I think it might deliver what I'm looking for if I can get it to look like the JB demo page - demo.joomlabamboo.com/index.php?theme=jan15.

What I mean is I'd like the homepage to open with a featured article (or two or three), and link to modules in the navbar - just like the demo page. Also, like the demo page, I'd like to change the font color of the article on the homepage.

If you take a look at my site - sweet-adversity.com - you'll see that I've gotten a start on this, but I obviously have a few problems. The biggest one is I don't know how to get the main content (or some set of featured articles) to show up on the homepage on top of the slideshow. For some reason I can only get whatever is published in the banner position to show up there. I guess I could make this work if there was a way to publish the main content in the banner position, but then both the HOME and banner-position buttons (EXHIBITION on the demo page) would end up doing the same thing.

I figure there must be a way I can get the main content to show up on the home page and have the second button link down to the next scroll position, just like on the demo page. Do you know what I need to do?

Also, do you know offhand which size images will work for the different grid positions. I've tried a couple different sizes and they keep coming up short (you can see this by scrolling down my homepage).

Thanks for putting up with my constant questions, and thanks for anything you can help me with here.

Bob
  • RobertCamp's Avatar
  • RobertCamp
  • 3 Month Basic
  • 155 posts
  • Karma: 0
The administrator has disabled public write access.
(Sorry, I didn't notice that your reply had gone to a second page. I hope it doesn't get too confusing that I already sent a second reply to your last post.)

- Not sure what you mean when you say "these changes don't cause this." It seemed to me that once the overall white background was removed (became transparent) it just left the modules and the article box in their original positions - which were no longer aligned with the navbar.

- The first line was to make the overall background opaque. It became extraneous when we made the whole thing transparent.

Sorry again to be pursuing two tracks on this right now, but I really think the Onepage thing, like the demo page, will work if I can get it right (discussed in my other reply).
  • RobertCamp's Avatar
  • RobertCamp
  • 3 Month Basic
  • 155 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Bob,

With one page templates it is driven by module content rather article based content

If you switch off the one page menu does the alignment right itself?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Turning off Onepage removes the links from the navbar, moves the modules down a bit, and, for some reason, crops the background images behind the modules. Is that what you mean by alignment? (If you meant does it fix the earlier alignment problem of the white boxes not being aligned with the navbar, I wasn't using Onepage at that time.)

If Onepage is driven by modules, is there a module I can use on the main (slideshow) part of the homepage that will display a featured article(s)?

If not, I'll even consider pasting and erasing a single featured article manually if necessary. But the main problem is I can't figure out how to get the button just to the right of the HOME button to link to the next "page" down. It seems that whatever module I publish to the banner position shows up on the top (slideshow) part of the homepage.

Bob
  • RobertCamp's Avatar
  • RobertCamp
  • 3 Month Basic
  • 155 posts
  • Karma: 0
The administrator has disabled public write access.
(Sorry again for the double-reply)

So, with some experimenting (and thanks to your point that Onepage is module-dependent) I've gotten things almost exactly as I'd like them.

sweet-adversity.com

The main problem now is that in the module I'm using for the main homepage "page," the links (title link and "Continued..." link) don't go to the article itself, they just bring up another homepage. I can't find any controls in the module to fix this. Any ideas?

After that, I just need to figure out how to adjust font color and size on the front page modules without changing them on the inside pages, then get the image backgrounds on the lower "pages" sized correctly, and I think we've just about got it nailed.

Bob
  • RobertCamp's Avatar
  • RobertCamp
  • 3 Month Basic
  • 155 posts
  • Karma: 0
Last Edit: 8 years 6 months ago by RobertCamp.
The administrator has disabled public write access.
Hi Bob,

That sounds like the itemid issue where there isn't a link on the system

The normal way round it is to create a menu link pointing to either the category or individual articles
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
For more information on this

www.joomlabamboo.com/blog/how-to-joomla/implementing-a-fix-for-menu-item-ids-in-joomla

Although depending on the amount of content I'd consider using zentools to display an article in a lightbox

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

I managed to fix the link problem (turns out I had accidentally introduced a glitch with a future modification date).

Anyway, what I'd really like to do now is get control of some of the parameters of the module I'm using for the homepage articles (I am using zentools by the way).

- I'd like to be able to control the header font size. There are header controls in the module, but all of the presets are either too big or too small. Is there some way I can access the header (h1, h2, h3, etc.) presets and adjust the size?

- I'd like to be able to change the link colors on the homepage independently of the inside pages. I'm guessing this is another "itemid" thing that I need to add to the custom.css.

- I've noticed that the image problem I mentioned previously (images behind grid positions lower down the homepage not sizing and filling in correctly) doesn't seem to happen with Chrome or Firefox, just with Safari. Is there something I can do about that?

Thanks

Bob
  • RobertCamp's Avatar
  • RobertCamp
  • 3 Month Basic
  • 155 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Bob,

To target the heading size you will need something like

h1, h2, h3, h4, h5, h6 {font-size:24px}

I'd suggest not using more than one h1 on the site
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Regarding link colour you can changed this in the template style but that would require a template style for home page and a different one for the rest of the site

alternatively add this to the custom.css file

.itemid-435 a {
color: #fff;}

replacing #fff with whatever colour you want to use
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Are you using the latest template version?

With safari is this on a mac?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Last time I checked I had the latest version of focus2. Yeah, I'm on a mac.

Just wanted to let you know, in case it might be worth checking on - my site is currently down because I was checking with my web host on a different problem (for some reason my homepage was giving a 404 error) and they discovered there was some malware on it. There was a little link at the bottom of every page linking to porn. I never even saw the link, it was so inconspicuous. I'll probably have to buy a some cleaning software to remove it.

I mention it because the web host said it could have gotten in through the Joomla version or the template (or their servers I guess). Just a heads up.

Bob
  • RobertCamp's Avatar
  • RobertCamp
  • 3 Month Basic
  • 155 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Bob,

If you were running an old version of Joomla that is most likely or unpatched / not updated extension with a vulnerability in it

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
But thanks for the heads up

Good luck with it

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

No, I was running the latest version of Joomla. Everything was updated.

Bob
  • RobertCamp's Avatar
  • RobertCamp
  • 3 Month Basic
  • 155 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Bob,

Thanks for the update - we've had no reports on any vulnerabilities and I also use the templates myself on all the sites I develop and not seen any issues myself

Can you keep us posted?

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

Bob
  • RobertCamp's Avatar
  • RobertCamp
  • 3 Month Basic
  • 155 posts
  • 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.
Hey Paul,

A quick update, a question and a request for info.

On the malware: Hostmonster could not determine the source, but they seem to think it came from a hacked password. It's been scrubbed (had to purchase a service) and all now seems to be fine. Obviously I will pay attention to changing my passwords much more often.

As to my desire to control link colors on my homepage: I do have a second template just for the homepage but any time I change the colors on that one the best of the pages change too. Am I doing something wrong or do I need to just go with the itemid code?

Lastly, a while ago I asked about how to upload original music files onto a new site I wanted to create. I've did download some templates, but I'm now at the point where I just want to get it done. Do you have any JB recommendations for a simple plug and play kind of template, where all I have to do is add a logo (my name), choose a few colors and fonts, and upload my mp3s and I'm done? If not, do you know of any non-JB templates you could recommend (if you're allowed, that is).

Thanks for your help.

Bob
  • RobertCamp's Avatar
  • RobertCamp
  • 3 Month Basic
  • 155 posts
  • Karma: 0
The administrator has disabled public write access.

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

Happy Campers