1. #57741
    Bloodsail Admiral Panquake's Avatar
    10+ Year Old Account
    Join Date
    Oct 2009
    Location
    Yorkshire
    Posts
    1,193
    + 21

  2. #57742
    Dreadlord pOO flinger's Avatar
    10+ Year Old Account
    Join Date
    Apr 2010
    Location
    Washington State
    Posts
    786
    + 22
    @Darsithis, I have a question that maybe you might be able to help with?

    I have a website that I am working on for my business. The storefront uses a pre-built template, but unfortunately there isn't as much customization as I was hoping for. I like the free template I am using, but the carousel on the home page stretches in length to fill the width of whatever resolution you're using. It just dominates the page, and I would prefer it to be smaller.

    I found a script that was supposed to help resize the carousel and has worked for others, but not for me. I don't have direct access to the code as far as I'm aware, but I can add scripts into the script manager.

    - - - Updated - - -

    Oooo, I did manage to access theme files.

  3. #57743
    Honorary PvM "Mod" Darsithis's Avatar
    10+ Year Old Account
    Join Date
    Jan 2011
    Location
    Chicago
    Posts
    51,235
    I wish I could help but I don’t really know. I do all of my work from scratch

    Best you could do is add a CSS class that limits width of the element and add the !important tag to force an override.

    +20

  4. #57744

  5. #57745
    Dreadlord pOO flinger's Avatar
    10+ Year Old Account
    Join Date
    Apr 2010
    Location
    Washington State
    Posts
    786
    Quote Originally Posted by Darsithis View Post
    I wish I could help but I don’t really know. I do all of my work from scratch

    Best you could do is add a CSS class that limits width of the element and add the !important tag to force an override.

    +20
    That actually sounds kinda like the script that someone suggested. Adjusting the percentage in the script is supposed to limit the width.

    <style>
    @media (min-width:801px) {
    .heroCarousel {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    }
    }
    </style>

  6. #57746
    La la la la~ LemonDemonGirl's Avatar
    3+ Year Old Account
    Join Date
    Nov 2019
    Location
    Vancouver Island, BC
    Posts
    2,957
    +22

    Damn pvp
    I don't play WoW anymore smh.

  7. #57747
    Honorary PvM "Mod" Darsithis's Avatar
    10+ Year Old Account
    Join Date
    Jan 2011
    Location
    Chicago
    Posts
    51,235
    Quote Originally Posted by pOO flinger View Post
    That actually sounds kinda like the script that someone suggested. Adjusting the percentage in the script is supposed to limit the width.

    <style>
    @media (min-width:801px) {
    .heroCarousel {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    }
    }
    </style>
    Did setting that to 50% help? It will only work if the screen is 801 pixels or wider, and the 50% only works if you have a width on the parent element.

    +20

  8. #57748
    Dreadlord pOO flinger's Avatar
    10+ Year Old Account
    Join Date
    Apr 2010
    Location
    Washington State
    Posts
    786
    + 21

    It did not, I also messed with the pixel amount and percentage as well. I disabled the carousel for now until I can figure it out.

  9. #57749

  10. #57750
    Honorary PvM "Mod" Darsithis's Avatar
    10+ Year Old Account
    Join Date
    Jan 2011
    Location
    Chicago
    Posts
    51,235
    That should have worked, unless the images in the carousel are set to a specific width or the parent element has no width so there is no way to calculate 50%.

    You could also try: width: calc(100% - 50%)

    +17

  11. #57751
    Bloodsail Admiral Panquake's Avatar
    10+ Year Old Account
    Join Date
    Oct 2009
    Location
    Yorkshire
    Posts
    1,193
    + 18

  12. #57752

  13. #57753

  14. #57754

  15. #57755

  16. #57756
    Bloodsail Admiral Panquake's Avatar
    10+ Year Old Account
    Join Date
    Oct 2009
    Location
    Yorkshire
    Posts
    1,193
    + 20

  17. #57757
    Honorary PvM "Mod" Darsithis's Avatar
    10+ Year Old Account
    Join Date
    Jan 2011
    Location
    Chicago
    Posts
    51,235
    Gorgeous day for a bike ride, if a bit hot and humid. So many beefy dudes on the lakefront trail today

    +18

  18. #57758
    Fluffy Kitten Pendulous's Avatar
    10+ Year Old Account
    Join Date
    Mar 2010
    Location
    Treno
    Posts
    19,508
    +16

    Had to walk all the way up to work today just to talk to personnel for like a minute. And then walk all the way back. Two miles each way, around 85F weather. Then someone had the nerve to call me on my way home (I didn't hear, my earbuds drown out noise, at least enough that I won't hear or notice my phone ringing), probably asking me to work. I was in the office, talking to the personnel manager, AND the store manager. Personnel manager knows my schedule was messed up this week because I told her. They knew I was off. Most of the people in that store know I travel on foot. Not going to wear myself out by taking a third trip. If it was something else, they could have left a message, and they didn't. Come on people. Instead, first day of NBA playoffs, just gonna ignore em.

  19. #57759
    Honorary PvM "Mod" Darsithis's Avatar
    10+ Year Old Account
    Join Date
    Jan 2011
    Location
    Chicago
    Posts
    51,235
    I figure if they don't leave a message, it just must not be important enough. You have the day off, go enjoy it.

  20. #57760

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •