Solved

Module alignment issue

Posted on 2014-01-03
11
359 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
Comment Utility
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
Comment Utility
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
Comment Utility
@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
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
Comment Utility
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
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 17

Expert Comment

by:nanharbison
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
This article discusses four methods for overlaying images in a container on a web page
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now