Solved

Module alignment issue

Posted on 2014-01-03
11
370 Views
Last Modified: 2014-01-18
I have a Joomla 3 site and am having a module alignment issue.  The website is aznogi.com the "Header" module has a slider and a module that overlays showing our address of the Brazilian Jiu Jitsu building.  Unfortunately the slider is slightly off center even when I disable the overlaying address module.

This would be huge if I could fix this.  Thanks in advance!
0
Comment
Question by:j0s3ph
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39755890
I don't know joomla, but...

The gallery is set for 960px wide and the rendered code is setting the width of the container below to 1116px wide.  Did you manually do this?

<div id="jsn-themeslider-skitter-nSC0U"><div style="width: 1116px; height: 618px;" class="box_skitter jsn-themeslider-gallery jsn-themeslider-skitter-nSC0U">
<ul style="display: none;"><li class="firstItem">
			   			<a href="javascript:void(0);">
			   				<img src="http://aznogi.com/images/slider/slide-1.jpg" alt="slide-1.jpg" style="height: 618px;">
			   			</a>
			   			<div class="label_text"><p class="jsn-themeslider-caption-title">slide-1.jpg</p></div>
					 </li><li>
			   			<a href="javascript:void(0);">
			   				<img src="http://aznogi.com/images/slider/slide-3.jpg" alt="slide-3.jpg" style="height: 618px;">
			   			</a>
			   			<div class="label_text"><p class="jsn-themeslider-caption-title">slide-3.jpg</p></div>
					 </li><li class="lastItem">
			   			<a href="javascript:void(0);">
			   				<img src="http://aznogi.com/images/slider/slide-2.jpg" alt="slide-2.jpg" style="height: 618px;">
			   			</a>
			   			<div class="label_text"><p class="jsn-themeslider-caption-title">slide-2.jpg</p></div>
					 </li></ul><input type="hidden" class="cache_skitter_index" value=""><span class="prev_button" style="display: none;">prev</span><span class="next_button" style="display: none;">next</span><span class="info_slide" style="left: auto; right: 15px;"><span class="image_number" rel="0" id="image_n_1_0" style="background-color: rgb(51, 51, 51); color: rgb(255, 255, 255);">1</span> <span class="image_number image_number_select" rel="1" id="image_n_2_0" style="background-color: rgb(204, 51, 51); color: rgb(255, 255, 255);">2</span> <span class="image_number" rel="2" id="image_n_3_0" style="background-color: rgb(51, 51, 51); color: rgb(255, 255, 255);">3</span> </span><div class="container_skitter" style="width: 1116px; height: 618px;"><div class="image"><a href="javascript:void(0);" target="_self"><img class="image_main" src="http://aznogi.com/images/slider/slide-3.jpg" style="width: 800px; display: inline; height: 618px;"></a><div class="label_skitter" style="display: none; width: 1116px;"><p class="jsn-themeslider-caption-title">slide-3.jpg</p></div></div></div></div>
</div>

Open in new window

0
 
LVL 17

Expert Comment

by:nanharbison
ID: 39756128
The element in the html that needs to be moved to the right is <header>. can your try:
.header {
margin-left:36px;
}
When I tried that, I got a black strip on the left, so maybe the background color needs to be set to white.

However, this is in your bootstrap.css file, I don't know why that has a left margin, but if I remove it, it moves the slide show and then main menu, so I don't know if that is related. It seems like it should be since setting a left margin on the slide show of 36px negates it perfectly.
@media (min-width: 1200px)
.row {
margin-left: -36px;
}
0
 

Author Comment

by:j0s3ph
ID: 39756943
@Scott, that code came with the template.  The original slider they put in fit perfectly.  I am not sure why.  I tried to use the same pix width and length and for some reason it fits differently.  

@nan, I disabled the module in the header positon for JSN Imageshow.  I re-enabled the original slider in the header module.  It fits perfects, even though it is over the address module in the header that shows our address.  Does this make any sense why the original would fit well in the header module space and my other program wouldn't?  I thought the resolutions matched perfectly.  

If this sheds any light let me know.  I'm confused by this.  I'm mainly a brazilian jiu jitsu guy so css is only something I do to avoid high overhead paying web guys.  Thanks again for the help.
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39756984
As you are seeing, Wordpress is a lot more complex than you would think.  You have some nice images and potential to be a better  looking site.  I can see the site does need a lot of help on the home page and the interior pages as well.    While hiring a professional does have some overhead, you need to value your own time and what it is costing you figuring all of this stuff out and the site still has a lot of work to be done.    

Take a moment and check out http://www.squarespace.com/, http://www.wix.com/  or http://www.weebly.com/  All of these sites are CMS sites but they are even more do-it-yourself friendly and you have a better chance of making your content look good.

If you do want to continue with your site, it might be a good idea to post a link to your site to our bugfinder http://www.experts-exchange.com/BugFinder/ and let Experts help you identify everything and from there you can go back and ask questions on each point.

Good luck!
0
 

Author Comment

by:j0s3ph
ID: 39757504
I've done a couple sites.  The previous version of this Joomla site is at strongheartacademy.com.  BJJ doesn't make a lot of money so $1k and up is too much money.  Thanks for the recommendation but I'll keep ironing this out and make it work for the launch next month.
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 39757506
You said your images are the same size as in the original slideshow, but if any of them are off by one pixel, it can mess up the layout.
Assuming you have the width and height EXACTLY the same as the original, have you tried renaming your slide show images to what they are in the original slideshow and then uploading them to the same place, which will just overwrite the images?
0
 

Author Comment

by:j0s3ph
ID: 39758391
That's a great idea and you are right, I might just be one pixel off.  I've had that happen to me before.  I'll check into this tomorrow and I bet you are right.  Once I figure that out I just need to figure out how to get the address box in that header module to lay over the slider and I'll be done.  Thanks again.
0
 

Author Comment

by:j0s3ph
ID: 39765794
I did contact support for the template and they did confirm that the resolution of the photos were 1116x618.  I did notice that there were some parameters in the original slider software "camera slideshow" that have settings for "height" and "min height" that might be why the other application "JSN Imageshow" isn't fitting properly.  Do you think my best bet is to contact the template company or JSN Imageshow?
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 39766112
Did you try my suggestion about overwriting the images from the original slideshow?

What is the name of this template? Did you pay for it or was it free?
0
 

Author Comment

by:j0s3ph
ID: 39775100
Yes, I tried that and I am going to have to stick with the original module application for now.  When I overwrite the original files with the the new ones it works with the Camera Slideshow app.  When I point to the same photos with the JSN ImageShow application it doesn't fit properly.

The template I am using is 43286 from Template Monster and it was paid for.  Sorry for the long delay, I was on vacation :)
0
 
LVL 28

Accepted Solution

by:
chilternPC earned 500 total points
ID: 39784039
it sounds like a setting in the JSN Image slideshow.
if your images are the same size as the original images , then it must be a setting in the module or that instance of the module.

another thought is if you uploaded your images and then changed the size and re-uploaded them they may not have overwritten the old copies.   try making copies of your images and renaming them then upload the newly names files and change the module to use the new images.

the instance of the slideshow will have settings for the size of the images check they are the same as the camera slideshow
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CSS change width browser switches to mobile view 2 74
Objects on Same Line 2 30
Changing Color of Page Section 4 21
How to show span when clicked on? 10 22
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question