-
AuthorPosts
-
robnob Friend
robnob
- Join date:
- October 2011
- Posts:
- 104
- Downloads:
- 0
- Uploads:
- 16
- Thanks:
- 18
- Thanked:
- 2 times in 1 posts
March 17, 2012 at 12:44 am #175083I know this has been covered in every JA template – although i dont see it posted for Methy.
I also know i have to edit the CSS file, but i don’t know where and i also don’t know how to change it for each page.
For example my home page would be a very standard gradient background, NBA – would display a basketball background, NFL – a football background, etc.I appreciate your time
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 17, 2012 at 9:15 pm #444207How many different backgrounds would you need?
What you can do is create individual themes for each of your backgrounds and then assign the different themes to different menu items via profiles.
How you apply them depends on your background images and which template you are using.
robnob Friendrobnob
- Join date:
- October 2011
- Posts:
- 104
- Downloads:
- 0
- Uploads:
- 16
- Thanks:
- 18
- Thanked:
- 2 times in 1 posts
March 18, 2012 at 12:43 am #444241Thanks Phil. Can you provide me with a bit more detail?
When you say “themes” are you referring to multiple templates?Also- how do you assign a theme to a profile I don’t get what you mean by that.
Sorry for my questions.. RobPhill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 18, 2012 at 7:17 am #444275Which particular template are we talking about here?
robnob Friendrobnob
- Join date:
- October 2011
- Posts:
- 104
- Downloads:
- 0
- Uploads:
- 16
- Thanks:
- 18
- Thanked:
- 2 times in 1 posts
March 18, 2012 at 2:00 pm #444327I am using JA Methy
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 18, 2012 at 11:56 pm #444418Are you using the Joomla 2.5 version?
If you could attach a couple of your images I can detail the exact css you need to apply. If you look in the templates>ja_methys folcer you will see a folder called “Themes” and in there are the different varients that are available. However we can simply create more and then add our own css for your background image. Once we have created all these extra themes we can then go to the template manager and assign them to your menu items.
robnob Friendrobnob
- Join date:
- October 2011
- Posts:
- 104
- Downloads:
- 0
- Uploads:
- 16
- Thanks:
- 18
- Thanked:
- 2 times in 1 posts
March 25, 2012 at 3:16 pm #445558Hi Phil – Yes i am using 2.5.5 i believe. – the latest version.
I still struggle changing the background by editing the templates>Ja_methys CSS file.I’m not positive on what images i will be using, but here is a sample for MLB. Thanks again.
robnob Friendrobnob
- Join date:
- October 2011
- Posts:
- 104
- Downloads:
- 0
- Uploads:
- 16
- Thanks:
- 18
- Thanked:
- 2 times in 1 posts
March 28, 2012 at 9:04 pm #446223Phil – Is there instructions somewheres on this? Ty
<em>@robnob 309965 wrote:</em><blockquote>Hi Phil – Yes i am using 2.5.5 i believe. – the latest version.
I still struggle changing the background by editing the templates>Ja_methys CSS file.I’m not positive on what images i will be using, but here is a sample for MLB. Thanks again.
</blockquote>Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 29, 2012 at 10:12 am #446283Sorry for not getting back you you, I missed your thread as for some reason it did not email me when you replied.
Could you tell me what theme you are using from Methys? Lets assume you are using the blue theme for the purpose of this quick tutorial.
If you look in the templates>ja_methys folder you will see another folder called themes. These are the variations on the basic theme. Each one can have a different look and feel, different css or image files.
So lets take a copy of the blue folder and call it blue1. In that folder we can put your new background image in the images folder and in the css file we can add some custom css to apply your background just by adding the code to the template.css file The exact css would depend on your background. Something like below for instance
body#bd {
background: url("../images/bg-body.gif") no-repeat scroll 0 0 transparent;
}Then repeat with blue2, blue3 etc for each of your backgrounds.
The next step would be done in the template manager. In the profiles tab, clone whichever profile you are using and near the bottom you can select your chosen theme. For each theme you would create a profile.
Finally you can use the Language and Page Assignemnts section of the template manager to assign which menu items or components would use which profile.
It sounds complicated but it is actually quite easy.
As for your images from a design point of view feathering the sides of the image often works well so when users view on a wide screen the edges feather to the background colour rather than just leaving a hard edge.
1 user says Thank You to Phill for this useful post
robnob Friendrobnob
- Join date:
- October 2011
- Posts:
- 104
- Downloads:
- 0
- Uploads:
- 16
- Thanks:
- 18
- Thanked:
- 2 times in 1 posts
April 1, 2012 at 5:29 pm #446725Phil – I added an additional theme with the background image.
I uploaded it via FTP and added a new profile and attached the new theme.
How do i assign that theme to a particular page? tyAuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 2 voices, and was last updated by robnob 12 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How do you change the background of each page to an image?
Viewing 10 posts - 1 through 10 (of 10 total)