Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    6
    Member #
    28417
    Hi,

    I am new to css and html, got a site up at allshoes10dollars.com and playing around here and there. I sorta got the hang of it except for one thing that i just cant get right. It is the slideshow scroll button, I cant get the position to be relative to my page but rather it is positioned to the screen resolution, making it land on different position on different screen size. please help if you can.

    thanks,
    henry

  2.  

  3. #2
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    Give the ul that has the buttons an id, and then give it relative positioning with css
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  4. #3
    Junior Member
    Join Date
    Jul 2011
    Posts
    6
    Member #
    28417
    Quote Originally Posted by George Dolidze, post: 211726
    Give the ul that has the buttons an id, and then give it relative positioning with css
    i am so lost, i still can not get this right. maybe this will give help to give me more insight as to what is wrong, content part of the page:

    <div class="home-slider">
    <a href="{{store url="woman/boots.html"}}" ><img src="{{skin url='images/media/home_banner_2.jpg'}}" style="float:right;" width=374px height=190px border="0" /></a>
    <a href="{{store url="boys.html"}}" ><img src="{{skin url='images/media/home_banner_1.jpg'}}" style="clear:right; float:right; margin:5px 0;" width=374px height=230px border="0" /></a>
    <div id="mygalone" class="svw">
    <ul>
    <li><a href="{{store url="store-locations.html"}}"><img src="{{skin url='images/media/slider_block_1.jpg'}}" /></a></li>
    <li class="slider-block-2">
    <div class="indent">
    <a href="{{store url="new-releases/court-slim.html"}}" class="slide-block-logo"><img src="{{skin url='images/media/slider_block_2_logo.png'}}" /></a>
    <br class="clear" />
    <p>The Court Slim from DC Shoe Co is a vulcanised skate shoe with a very pretty upper which consists of suede and fabric</p>
    <br class="clear" />
    <a href="{{store url="new-releases/court-slim.html"}}" class="slide-block-price"><img src="{{skin url='images/media/slider_block_2_price.gif'}}" /></a>
    <a href="{{store url="new-releases/court-slim.html"}}" class="slide-block-button"><img src="{{skin url='images/media/slider_block_button.gif'}}" /></a>
    </div>
    </li>
    <li class="slider-block-3">
    <div class="indent">
    <a href="{{store url="new-releases/ugg-boot.html"}}" class="slide-block-logo"><img src="{{skin url='images/media/slider_block_3_logo.png'}}" /></a>
    <p>Classic high UGG boot with a twist as it has a chunky knit Cardigan style upper and 3 large branded buttons down the side. Extremely cosy and comfortable, great for those crisp, fresh days!</p>
    <a href="{{store url="new-releases/ugg-boot.html"}}" class="slide-block-price"><img src="{{skin url='images/media/slider_block_3_price.gif'}}" /></a>
    <a href="{{store url="new-releases/ugg-boot.html"}}" class="slide-block-button"><img src="{{skin url='images/media/slider_block_button.gif'}}" /></a>
    </div>
    </li>
    </ul>
    </div>
    </div>

  5. #4
    Junior Member
    Join Date
    Jul 2011
    Posts
    6
    Member #
    28417
    css:

    /**slider****/
    .page-block .box-top ul li img{margin-bottom:15px;}
    .cms-index-index .slider{margin:0 0 0 2px;}

    .home-slider{padding-top:14px;}
    .home-slider .banner { float:right; width:374px;}
    .home-slider .banner-1{float:right; padding-top:5px;}
    .home-slider .banner-2{float:right; margin:0 }
    .home-slider .slider-block-2{background:url(../images/media/slider_block_2_bg.jpg) left top no-repeat; text-align:right;}
    .home-slider .slider-block-2 .indent{padding:28px 15px 0 0;}
    .home-slider .slider-block-2 .slide-block-logo{margin:0 21px 29px 0; display:block;}
    .home-slider .slider-block-2 p{width:174px; text-align:center; float:right;}
    .home-slider .slider-block-2 .slide-block-price{display:block; padding:18px 0 8px 0;}
    .home-slider .slider-block-2 .slide-block-button{display:block; margin-right:4px;}
    .home-slider .slider-block-3{background:url(../images/media/slider_block_3_bg.jpg) left top no-repeat;}
    .home-slider .slider-block-3 .indent{padding:28px 0 0 47px;}
    .home-slider .slider-block-3 .slide-block-logo{margin:0 0 15px 0; display:block;}
    .home-slider .slider-block-3 p{width:220px;}
    .home-slider .slider-block-3 .slide-block-price{display:block; padding:18px 0 11px 0;}
    .home-slider .slider-block-3 .slide-block-button{display:block; margin-left:1px;}

    /*=======home slider========*/
    .stripViewer {
    margin:0;
    overflow:hidden;
    position:relative;
    }
    #mygalone{overflow:hidden; height:425px;}
    #mygalone ul{position:relative;}
    #mygalone ul li{float:left; position:relative; width:592px; height:425px;}

    .stripTransmitter{position:absolute; top:378px; left:503px; width:84px!important; height:18px; padding:0;}
    .stripTransmitter li{margin-right:10px; float:left;}
    .stripTransmitter li a{display:block; width:18px; height:18px; text-decoration:none;}
    .stripTransmitter li.button-1 a{background:url(../images/media/slider_button_1.gif) left top no-repeat;}
    .stripTransmitter li.button-1 a.current,
    .stripTransmitter li.button-1 a:hover{background:url(../images/media/slider_button_1_active.gif) left top no-repeat;}
    .stripTransmitter li.button-2 a{background:url(../images/media/slider_button_2.gif) left top no-repeat;}
    .stripTransmitter li.button-2 a.current,
    .stripTransmitter li.button-2 a:hover{background:url(../images/media/slider_button_2_active.gif) left top no-repeat;}
    .stripTransmitter li.button-3 a{background:url(../images/media/slider_button_3.gif) left top no-repeat;}
    .stripTransmitter li.button-3 a.current,
    .stripTransmitter li.button-3 a:hover{background:url(../images/media/slider_button_3_active.gif) left top no-repeat;}
    .stripTransmitter li a:hover,
    .stripTransmitter li a.current{text-decoration:none;}

  6. #5
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    Not really, dude :/
    I could see your code to begin with.
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  7. #6
    Junior Member
    Join Date
    Jul 2011
    Posts
    6
    Member #
    28417
    Quote Originally Posted by George Dolidze, post: 211747
    Not really, dude :/
    I could see your code to begin with.
    sorry, thanks george. i will browse the forum and see what i can find.

  8. #7
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    I'm confused. I don't see scroll arrows at all. I just see numbers. Where am I looking exactly?

    Screen cap would be nice right about here.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  9. #8
    Junior Member
    Join Date
    Jul 2011
    Posts
    6
    Member #
    28417
    sorry, you are correct. it is the number block for the slide show.

  10. #9
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    Here's the best way to solve this.

    1) Add a unique id to the home-slider class div that contains your slider. For simplicity's sake, call it home-slider 1.
    Code:
    <div id="home-slider-1" class="home-slider">
    Then, you need exactly one line of CSS to solve your problem.
    Code:
    div#home-slider {position:  relative;} /* this will move your strip-transmitter to the position you want it. */
    WARNING: if you're using other absolutely positioned elements as children of the home-slider-1 div, those will move as well. I didn't check, though. Just a heads-up.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  11. #10
    Junior Member
    Join Date
    Jul 2011
    Posts
    6
    Member #
    28417
    Quote Originally Posted by TheGAME1264, post: 211802
    Here's the best way to solve this.

    1) Add a unique id to the home-slider class div that contains your slider. For simplicity's sake, call it home-slider 1.
    Code:
    <div id="home-slider-1" class="home-slider">
    Then, you need exactly one line of CSS to solve your problem.
    Code:
    div#home-slider {position:  relative;} /* this will move your strip-transmitter to the position you want it. */
    WARNING: if you're using other absolutely positioned elements as children of the home-slider-1 div, those will move as well. I didn't check, though. Just a heads-up.
    works like a charm...thank you sooo much. i appreciate it. if you like decorative soap, i will be glad to send you some. we sell that on our website.


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:56 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com