Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "Photo Portfolio" Joomla template.

Topic-icon Center the web.

More
5 years 3 months ago #15257 by juanjosc
juanjosc created the topic: Center the web.
Good morning, my problem is that I can not bring up my web browser at the center, I get stuck on the left. How I can fix it?

The web is www.hormicolorhde.es/

Thank you.

Please Log in to join the conversation.

More
5 years 3 months ago - 5 years 3 months ago #15266 by ivan.milic
ivan.milic replied the topic: Re: Center the web.
It is centered except bottom line, if you want to center it add this to layout.css:


body > .custom{
margin: 0 auto;
width: 1000px;
text-align: center;
}
Last Edit: 5 years 3 months ago by ivan.milic.

Please Log in to join the conversation.

More
5 years 3 months ago #15370 by juanjosc
juanjosc replied the topic: Re: Center the web.
Hello again,

Thanks for the reply but that's not what I need.

What I want is to center the web page, ie the modules, the header, the footer, in short everything but the justification of the text is centered.

I put several web I've seen on this forum who do so:

www.jdamasio.info/comenius/index.php

http://www.designstudiooftelluride.com./index.php?option=com_content&view=article&id=5&Itemid=30

www.pardomariani.com/

Thanks you.

Please Log in to join the conversation.

More
5 years 3 months ago - 5 years 3 months ago #15387 by ivan.milic
ivan.milic replied the topic: Re: Center the web.
Open modules\mod_hot_effects_rotator\tmpl\default.php

You will see this:

#slider {
position:relative;
padding:0;
margin:0;
width:'.$sliderWidth.'px;
height:'.$sliderHeight.'px;
}

replace

margin:0;

with

margin:0 auto;

Then you need to do IE fix:

You can fix left margin for IE < 9. Open index.php of template and just above </head> add this:

<!--[if IE lte 8]>
<style type="text/css">
#slider {
margin-left: 120px;
}
</style>
<![endif]-->
Last Edit: 5 years 3 months ago by ivan.milic.

Please Log in to join the conversation.

Time to create page: 0.236 seconds

Links, Partners and Social Media