Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Changing look and feel or Slimbox, Lytebox, or Litebox

  • eskwire
  • eskwire's Avatar Topic Author
  • Offline
  • New Member
More
17 years 8 months ago #2559 by eskwire
Is anyone aware of what is involved in changing the look and feel of the some of the popup engines? 

Essentially I need to have the Previous and Next buttons displayed the entire time the image is being displayed.  I also need to move these buttons down to the same row that the Close button is on?

Will this be an involved process?  Has anyone done this before?

Thanks!

Please Log in or Create an account to join the conversation.

  • eskwire
  • eskwire's Avatar Topic Author
  • Offline
  • New Member
More
17 years 8 months ago #2560 by eskwire
I was able to accomplish part of my needs. 

In the slimbox function I was able to get the next and previous buttons to display full time.  I modified the /mambots/content/plugin_jw_sigpro/slimbox/english/slimbox.css file

I changed the #lbPrevLink and #lbNextLink to the following:
#lbPrevLink {left:0;background:transparent url(prevlabel.gif) no-repeat 00% 15%;}
#lbPrevLink:hover {background:transparent url(prevlabel.gif) no-repeat 0% 15%;}

#lbNextLink {right:0;background:transparent url(nextlabel.gif) no-repeat 100% 15%;}
#lbNextLink:hover {background:transparent url(nextlabel.gif) no-repeat 100% 15%;}

I copied the information from the hover line to the line above it.  It was quick and dirty but it accomplished what I needed.  You could probably remove the hover line if you wanted.

If anyone knows of a better way or has any comments, I would like to read about it.

Now onto seeing about placing the previous and next buttons below the image.

Please Log in or Create an account to join the conversation.

More
17 years 8 months ago #2561 by JoomlaWorks
Exactly. Such behaviour is 90% controlled by CSS. The normal link state has a display:none and the hover state (on which next/prev show up) have a display:block property.  ;)

Playing around with each engine's CSS will get your where you want...

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
17 years 7 months ago - 17 years 7 months ago #2562 by nluk100
I'm using the Litebox engine (am running fpss!) and would also like to show the navi icons by default - I have played around with the css file but am having no luck;
#lightbox {position:absolute;top:40px;left:0;width:100%;z-index:100;text-align:center;line-height:0;}
#lightbox a img {border:none;}
#outerImageContainer {position:relative;background-color:#fff;width:250px;height:250px;margin:0 auto;}
#imageContainer {padding:10px;}
#loading {position:absolute;top:40%;left:0%;height:25%;width:100%;text-align:center;line-height:0;}
#hoverNav {position:absolute;top:0;left:0;height:100%;width:100%;z-index:10;}
#imageContainer>#hoverNav {left:0;}
#hoverNav a {outline:none;}
#prevLink, #nextLink {width:49%;height:100%;display:block;background:transparent url(../blank.gif) no-repeat;/* Trick IE into showing hover */}
#prevLink {left:0;float:left;}
#nextLink {right:0;float:right;}
#prevLink:hover, #prevLink:visited:hover {background:url(prevlabel.gif) left 15% no-repeat;}
#nextLink:hover, #nextLink:visited:hover {background:url(nextlabel.gif) right 15% no-repeat;}
#imageDataContainer {font:10px Verdana, Helvetica, sans-serif;background-color:#fff;margin:0 auto;line-height:1.4em;}
#imageData {padding:0 10px;}
#imageData #imageDetails {width:70%;float:left;text-align:left;}	
#imageData #caption {}
#imageData #caption b {color:#C63C13;font-size:11px;}
#imageData #numberDisplay {display:block;clear:left;padding-bottom:1.0em;}			
#imageData #bottomNavClose {width:66px;float:right;padding-bottom:0.7em;}	
#overlay {position:absolute;top:0;left:0;z-index:90;width:100%;height:500px;background-color:#000;filter:alpha(opacity=60);-moz-opacity:0.6;opacity:0.6;}
.clearfix:after {content:".";display:block;height:0;clear:both;visibility:hidden;}
* html>body .clearfix {display:inline-block;width:100%;}
* html .clearfix {/* Hides from IE-mac \*/ height:1%;/* End hide from IE-mac */}

Could someone point me in the right direction please?

Please Log in or Create an account to join the conversation.

More
17 years 7 months ago #2563 by JoomlaWorks
Change this:
#prevLink {left:0;float:left;}
#nextLink {right:0;float:right;}
#prevLink:hover, #prevLink:visited:hover {background:url(prevlabel.gif) left 15% no-repeat;}
#nextLink:hover, #nextLink:visited:hover {background:url(nextlabel.gif) right 15% no-repeat;}

to this
#prevLink {left:0;float:left;background:url(prevlabel.gif) left 15% no-repeat;}
#nextLink {right:0;float:right;background:url(nextlabel.gif) right 15% no-repeat;}
#prevLink:hover, #prevLink:visited:hover {background:url(prevlabel.gif) left 15% no-repeat;}
#nextLink:hover, #nextLink:visited:hover {background:url(nextlabel.gif) right 15% no-repeat;}

OK?  ;)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
17 years 6 months ago #2564 by nluk100
Great stuff, that did the trick - thanks  :D

Please Log in or Create an account to join the conversation.

More
17 years 2 months ago #2565 by MP Media
Hi

I tried the change to css file as above but doesnt seem to work - any other ideas to get the prev/next logos to appear all the time?

Thanks

Please Log in or Create an account to join the conversation.

More
15 years 9 months ago #2566 by kayut
Hi

Does anyone have a hack to force the prev/next buttons to appear all the time when using the Lytebox template with Simple image gallery pro? (there is one for slimbox)

Thanks

Please Log in or Create an account to join the conversation.

More
15 years 7 months ago #2567 by Atilla
I see this is an old thread, but I didn't find any related topic on my issue.

I am using Slimbox Mootols popup lightbox. And the top margin is 66px. I want to make it 20px.

But I can't find the CSS for this. Does anyone know where I can edit the top margin value of the slimbox mootols popup window?

When I use Firebug, it shows me this:

element.style {
height:621px;
left:712.5px;
margin-left:-410px;
top:66px;
width:820px;

but it doesn't show me the css file and line number at all. It should be in a php file somewhere and I can't find it. I have searched the forums, didn't find the solution.

Please help!

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
15 years 7 months ago #2568 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Changing look and feel or Slimbox, Lytebox, or Litebox
Hi Atilla!

Can you please post a direct link to the gallery?

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum