1. iKev's Avatar
    Hey all. Hoping I can get some advice on a slight modification I need to make to a lockscreen theme. I downloaded the "LS Apple" theme, and got everything working ok except for one line: the line that has the time, month/year, and my city's temperature. Here's a screenshot:

    Help With Modifying LS Theme-imageuploadedbyimore-forums1360766177.665807.jpg

    See how that line isn't centered? How do I center it? As you can see the temperature isn't fully displayed after my city because it falls off the right side of the screen. Any help would be GREATLY appreciated!
    02-13-2013 09:38 AM
  2. rdiddy_25's Avatar
    Hey all. Hoping I can get some advice on a slight modification I need to make to a lockscreen theme. I downloaded the "LS Apple" theme, and got everything working ok except for one line: the line that has the time, month/year, and my city's temperature. Here's a screenshot:

    Click image for larger version. 

Name:	ImageUploadedByiMore Forums1360766177.665807.jpg 
Views:	34 
Size:	73.3 KB 
ID:	26726

    See how that line isn't centered? How do I center it? As you can see the temperature isn't fully displayed after my city because it falls off the right side of the screen. Any help would be GREATLY appreciated!

    With iPhone and iOS do u have? Is it compatible?
    02-13-2013 10:07 AM
  3. iKev's Avatar
    Sorry, iPhone 5, 6.1.

    Their website says it's compatible.
    02-13-2013 10:26 AM
  4. iKev's Avatar
    I just figured there was a line of code that I could get into to decrease the margin on the left of the time display to move that line over to the left a couple spaces. However, I am, by no means, a codemonkey so I'm a little on the ignorant side when it comes to knowing what to look for.
    02-13-2013 10:27 AM
  5. natasftw's Avatar
    The code is all in the theme's LockBackground.html file.

    Open it with a text editor, as I'm assuming you already did to change the city. Usually, near the top they have a list of "div" entries. You'll want to play with those to find the right pixel values for your particular city.

    left:0 means it'll go as far left as the div. It's possible to use left:-10 for some divs. It looks like reducing the value by 20 is a good place to start.
    Rockdog97 likes this.
    02-13-2013 10:28 AM
  6. iKev's Avatar
    Ok I'll give that a shot. Thanks!
    02-13-2013 10:39 AM
  7. natasftw's Avatar
    I should mention, there's a lot of divs. Look for the ones with names that make sense. Ie, date/weather/etc. Leave the others alone.

    If you only change one or two at a time, it'll be easy to fix something you don't like changing.
    02-13-2013 10:45 AM
  8. iKev's Avatar
    Man, their code is horribly laid out. There are like twenty lines of blank space between each line of code. Ugh. I couldn't find a section where I could change anything that made a difference in the layout of that line. :-(

    Guess I'll be shopping around for another lockscreen theme.
    02-14-2013 12:28 AM
  9. iKev's Avatar
    Thanks for the tips, though.
    02-14-2013 12:29 AM
  10. Massie's Avatar
    Man, their code is horribly laid out. There are like twenty lines of blank space between each line of code. Ugh. I couldn't find a section where I could change anything that made a difference in the layout of that line. :-(

    Guess I'll be shopping around for another lockscreen theme.
    If you want to you could always put the HTML up on pastie.org (or here, wrapped in CODE tags) and give us a link. I'm sure someone could look through it for you.
    02-14-2013 05:19 AM
  11. iKev's Avatar
    Thanks, I have up and got a different one. I'm too impatient. Haha.
    02-14-2013 08:59 PM
  12. natasftw's Avatar
    The code usually is pretty poorly laid out.

    One of the first things I do with those is go in and clean out the white space and then find from there what I want to change to make it more in touch with my style.
    iKev likes this.
    02-14-2013 09:54 PM

Similar Threads

  1. Help with media player theme
    By Troy the Creator in forum Jailbreaking, Unlocking, Hacks, Themes & Mods
    Replies: 0
    Last Post: 03-17-2012, 03:21 AM
  2. need help with isatin/ carbon ovation theme
    By Indygangsta in forum Jailbreaking, Unlocking, Hacks, Themes & Mods
    Replies: 28
    Last Post: 10-02-2011, 10:11 PM
  3. Help with Winterboard and themes
    By doxiedad#IM in forum Jailbreaking, Unlocking, Hacks, Themes & Mods
    Replies: 2
    Last Post: 02-13-2011, 08:33 AM
  4. Help with Themes
    By pilotnh in forum Jailbreaking, Unlocking, Hacks, Themes & Mods
    Replies: 2
    Last Post: 10-26-2010, 10:55 AM
  5. Help with a Theme
    By chrstphr.ross in forum Jailbreaking, Unlocking, Hacks, Themes & Mods
    Replies: 0
    Last Post: 07-22-2009, 12:12 PM
LINK TO POST COPIED TO CLIPBOARD