Website Auto Adjust For Screen Resolution

Everything to do with Joomla! 1.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
jer_s
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Dec 21, 2011 6:39 pm

Re: Website Auto Adjust For Screen Resolution

Post by jer_s » Wed Dec 21, 2011 6:46 pm

Hi

I am modifying a theme called Lexxx Club bought online , i am organising an event in clubs and it should be optimized for everybody to see browsers and screen sizes ( http://www.smashed.co.il )

I have a difficulties with the appearance of my web site i have a a full hd screen on my main computer and it turn outs perfect while going on my 13inch laptop it has a scroll down and it's all messed. But when i zoom out it turns out how it should be , but i wont ask my visitors to zoom out :D I read previously articles about changing the template.css but got confused with width and messed it all up so recovered from my back up
I can put here bellow my template.css but it is very long so i won't spam if not requested but attached a zip file with template.css it if it may help


Please let me know what to do it , any help will be very appreciated

Thank you again!

Jeremy Spitz
http://www.smashed.co.il
You do not have the required permissions to view the files attached to this post.

tsablic
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Jan 20, 2012 3:37 pm

Re: Website Auto Adjust For Screen Resolution

Post by tsablic » Fri Jan 20, 2012 3:43 pm

hey wlrdq , can yo check out my website www.tomislav.sablic.from.hr im having some issues with page resolution because i have 23" display and it seems perfect to me, but on smaller screens it turns out very badly...

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Website Auto Adjust For Screen Resolution

Post by wlrdq » Sat Jan 21, 2012 3:03 pm

When I go to the following URL, I get could not be found:
http://www.tomislav.sablic.from.hr/

I can't find any DNS info for that domain, either:
http://www.dnsstuff.com/tools/ipall/?to ... ic.from.hr

Did you mistype something?
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

tsablic
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Jan 20, 2012 3:37 pm

Re: Website Auto Adjust For Screen Resolution

Post by tsablic » Sun Jan 22, 2012 9:03 pm

yeah, im sorry :S
its www.tomislav-sablic.from.hr

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Website Auto Adjust For Screen Resolution

Post by wlrdq » Mon Jan 23, 2012 2:24 am

I see a few things I would change about the way this is working.

Do you want to describe how you would like to have it work by telling me what you don't like now or would you like me to just suggest what I would do?
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

tsablic
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Jan 20, 2012 3:37 pm

Re: Website Auto Adjust For Screen Resolution

Post by tsablic » Mon Jan 23, 2012 10:20 am

i would like you to suggest whats wrong, if you want ill send a template to you, but please show me what have you changed. And , thank you very much !

Greetings from Croatia :)

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Website Auto Adjust For Screen Resolution

Post by wlrdq » Wed Jan 25, 2012 6:46 pm

I believe the main issues you are having are only with the header and footer. I'm attaching some screenshots I took in Firefox to show what is going on. I will play with your styles using Firebug (if you don't have it...I highly suggest getting it) and let you know what I suggest.
www.tomislav-sablic.from.hr-head1.png
www.tomislav-sablic.from.hr-foot1.png
You do not have the required permissions to view the files attached to this post.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Website Auto Adjust For Screen Resolution

Post by wlrdq » Wed Jan 25, 2012 6:47 pm

And here it is with the browser even thinner and scrolling over to the right.
www.tomislav-sablic.from.hr-head2.png
www.tomislav-sablic.from.hr-foot2.png
You do not have the required permissions to view the files attached to this post.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

tsablic
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Jan 20, 2012 3:37 pm

Re: Website Auto Adjust For Screen Resolution

Post by tsablic » Wed Jan 25, 2012 9:05 pm

ok, thanks , im waiting for your code suggestion :)

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Website Auto Adjust For Screen Resolution

Post by wlrdq » Wed Feb 01, 2012 4:36 am

Logo
I would crop the LOGO.png image file down to just the logo (http://www.tomislav-sablic.from.hr/temp ... s/LOGO.png). Right now there is a lot of white padding around it and there is a negative left percent style that is causing the logo to move off the left of the screen when the browser isn't wide enough:

Code: Select all

div.header-jpeg {
    background-image: url("../images/header.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    height: 200px;
    left: -50%;
    position: absolute;
    top: 0;
    width: 1920px;
code image
I would crop this as well (http://www.tomislav-sablic.from.hr/temp ... sample.png). You should be able to use align right or similar styles to get it to stay on the right side of the browser.

Code: Select all

#logotip {
    margin-left: 700px;
    position: relative;
}
Overall header
I would set a minimum width on the header to make sure the browser can't crush the content to the point where the logo and code images overlap. This will also help make sure your content doesn't get squished when the browser width is shrunk.

Footer Image
Don't use margin-left for this. You should be able to get the image to center using align or something. Let me know if you can't figure out what to use:

Code: Select all

#support-logo {
    margin-left: 500px;
    margin-top: 0;
    position: relative;
    width: 100%;
}
Footer text
I think you are missing a clear: both after the footer-center div that has a float: right:

Code: Select all

.footer-center {
    float: right;
    position: relative;
    right: 50%;
}
Hope this helps. If you run into issues, let me know.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

Crispuchita
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Mon Jan 09, 2012 2:34 pm

Re: Website Auto Adjust For Screen Resolution

Post by Crispuchita » Thu Feb 02, 2012 8:58 am

Dear wlrdq,

Would you be so kind to help me?? I made a background 1600x1200px
and I've searching everywhere for the solution of my problem, I would like to have a background that fits in every screen but I don't have a clue how to do that... :-[

Here is the link to my site: http://driemeubelambachten.com/joomla/

If you can help me i will be much obliged :)

Thanks and kisses,

Cristina

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Website Auto Adjust For Screen Resolution

Post by wlrdq » Mon Feb 06, 2012 7:52 pm

Cristina,

I don't see issues when I shrink your website's width. Is the issue when it gets larger? Unfortunately, my laptop doesn't get very large, so I will need to come up with another way to test it if that is the issue.

Let me know.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

Crispuchita
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Mon Jan 09, 2012 2:34 pm

Re: Website Auto Adjust For Screen Resolution

Post by Crispuchita » Tue Feb 07, 2012 7:36 am

Hi wlrdq,

well the clue is that i'm making my website in a laptop with a 17' screen but when i look in a comuter laptop with 15' screen i miss from the left as from the right a piece of my background. So i think that i need to make the all site resizable ....
Do you have any suggestions what should i do about it??

Thanks,

Cristina

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Website Auto Adjust For Screen Resolution

Post by wlrdq » Tue Feb 07, 2012 10:11 pm

It looks like you have this image in your header that is 2000px wide:
http://driemeubelambachten.com/joomla/t ... tainer.jpg

And this in the background that is 1600px wide:
http://driemeubelambachten.com/joomla/t ... d-drie.png

How would you like the site to respond when the user shrinks the browser width? You have a few options:

Right now on my browser, it squeezes that background of to the left (keeping it centered) but keeps the content from being smaller than 960px (which is set in a few different style classes). This is actually the way I would expect it to respond. It maximizes the actual content presented to the user at all widths.

Would you want the user to be presented with a scrollbar at the bottom of the browser when they go below 1600px in width? This is possible as well, but doesn't take advantage of the space available to the user very well. Anyone on a small monitor will need to scroll to the right to see actual content and not the background image.

Let me know what you are thinking.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

kaleske
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Feb 08, 2012 9:39 am

Re: Website Auto Adjust For Screen Resolution

Post by kaleske » Wed Feb 08, 2012 9:46 am

Hello i made web page with joomla and because i`m new i didn`t know about resoliutions. So i made page for big resoliution. Can you help me to make it smaller that other with smaller devices resoliution could take look at it witout any mess, my webpage is www.petromobilis.lt. Sorry if i`m speaking bad english.

richardbooker
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Feb 08, 2012 1:06 pm
Contact:

Re: Website Auto Adjust For Screen Resolution

Post by richardbooker » Wed Feb 08, 2012 2:52 pm

first i had a static image that didn't adjust to screen width, but now it workss great on joomla thx. 100%; Width
Last edited by richardbooker on Tue Feb 14, 2012 5:38 pm, edited 1 time in total.

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Website Auto Adjust For Screen Resolution

Post by wlrdq » Wed Feb 08, 2012 3:29 pm

@kaleske - Would you mind starting a new post and PM or emailing me a link to it and I can help you there? This one is going in too many directions and it makes it harder to follow. If we can break each issue up into a different thread, it makes it easier.

Thanks,
Will
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

Crispuchita
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Mon Jan 09, 2012 2:34 pm

Re: Website Auto Adjust For Screen Resolution

Post by Crispuchita » Wed Feb 15, 2012 2:40 pm

@wlrdq i send you an email to because otherwise we won't be able to see any more what and who is here ;)

dazunJ
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Apr 01, 2012 2:40 pm

Re: Website Auto Adjust For Screen Resolution

Post by dazunJ » Sun Apr 01, 2012 4:33 pm

wlrdq wrote:The rhuk_milkyway template uses a mix/max width and auto left and right margins to get the template to resize dynamically with the browser (or screen resolution).

Let me know if you need help doing this.

please help me on this
same problem
this is the site
http://channelfuntv.com

can't identified the problem

Daneko
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed May 30, 2012 12:02 pm

Re: Website Auto Adjust For Screen Resolution

Post by Daneko » Fri Jun 29, 2012 2:08 pm

Hi can i get help to midify my site so the resulution works on on digrent sieze
www. sjalsljus.se

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Website Auto Adjust For Screen Resolution

Post by wlrdq » Sat Jun 30, 2012 1:08 pm

I just went to your site and it seems to work if I minimize the width of my browser. What is it doing that you do not like?
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

andranos
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Wed Jun 27, 2012 3:44 am

Re: Website Auto Adjust For Screen Resolution

Post by andranos » Sun Jul 01, 2012 8:51 pm

Can you take a look at mine?
http://dsslab.infotech.monash.edu:8080/ssman7/ala/
When you zoom in, some of the images and text will overlap to each other and when you zoom out, the background images become smaller as well

Thanks

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Website Auto Adjust For Screen Resolution

Post by wlrdq » Mon Jul 02, 2012 1:53 pm

@andranos - I would use a min-width style to make sure the content doesn't get squished when the browser is to small (zoom in):
Screen Shot 2012-07-02 at 9.50.21 AM.png
When the browser is too large (zoom out), do you just mean that the background image doesn't stretch? Would you actually want it to stretch with the width? That would mean when you zoom in that it would be very thin.

Hope this helps,
Will
You do not have the required permissions to view the files attached to this post.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

tappy52dog
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 115
Joined: Sat Dec 17, 2011 7:45 pm

Re: Website Auto Adjust For Screen Resolution

Post by tappy52dog » Sun Jan 20, 2013 3:36 am

Hi, instead of a min-width:1160px; is there a "max" width css command available? I tried max-width:1160px; however it didn't do anything.


Locked

Return to “Templates for Joomla! 1.5”