+ Post New Thread
Results 1 to 9 of 9
Web Development Thread, & CSS coding - minishowcase gallery in Coding and Web Development; Right, with the help of Powerrmonkey i got this up and running last night. I've not long got my head ...
  1. #1

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,547
    Thank Post
    2,377
    Thanked 750 Times in 459 Posts
    Blog Entries
    2
    Rep Power
    543

    & CSS coding - minishowcase gallery

    Right, with the help of Powerrmonkey i got this up and running last night.

    I've not long got my head around CSS, PHP is alien to me at the moment but this is basically what this gallery is made of. So like always i've given it a go so i could teach myself through experience, but now im stuck again.

    I basically want to change the background to an image, easy enough with CSS and i've tried all i could think of but to no avail.

    Where there is something that looks like CSS it has an Echo in there. I thought echo outputted stuff?!

    So does anyone fancy a go? Anyone not got a life?!

    Thanks!

    minishowcase v09b142

  2. #2

    EduTech's Avatar
    Join Date
    Aug 2007
    Location
    Reading
    Posts
    5,062
    Thank Post
    160
    Thanked 920 Times in 723 Posts
    Blog Entries
    3
    Rep Power
    272
    So there is nothing like this in the css file?

    <style type="text/css">
    body {background-image:url('myimage.gif')}
    </style>

    Hmm looks interesting, suppose could give it ago

  3. Thanks to EduTech from:

    Little-Miss (30th May 2009)

  4. #3

    EduTech's Avatar
    Join Date
    Aug 2007
    Location
    Reading
    Posts
    5,062
    Thank Post
    160
    Thanked 920 Times in 723 Posts
    Blog Entries
    3
    Rep Power
    272
    Also in the gallery.css

    you have:

    body {
    margin: 0px;
    background: <?php echo $theme_general_bg?>;
    }

    i think, if you take out "<?php echo $theme_general_bg?>" and just put background-image:url('myimage.gif')"

    that should do it.

    I'm just going off to bed so cant test it now.

    james.

  5. #4

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,547
    Thank Post
    2,377
    Thanked 750 Times in 459 Posts
    Blog Entries
    2
    Rep Power
    543
    Hmm, i might have tried that. But i'll give it a go later!

  6. #5
    mossj's Avatar
    Join Date
    Dec 2008
    Location
    Leicester
    Posts
    1,466
    Thank Post
    157
    Thanked 189 Times in 174 Posts
    Rep Power
    52
    I think IE8 could also help here, as if you press f12 it brings up a rather nifity sourceviewer, that has html on one side and relavent styles on the other... if it doesn't work it could be being overidden and that will help identify how/where.

    P.S try refrencing too <div id="global_container"> as this is a entire container used in there demo.

    Code:
    #global_container {
    background-image:url('myimage.gif');
    }
    I think its '#' to refrence id's but could be '.'
    Last edited by mossj; 30th May 2009 at 01:11 PM. Reason: # or .'s

  7. Thanks to mossj from:

    Little-Miss (30th May 2009)

  8. #6
    p858snake's Avatar
    Join Date
    Dec 2008
    Location
    Queensland
    Posts
    1,490
    Thank Post
    37
    Thanked 175 Times in 151 Posts
    Blog Entries
    2
    Rep Power
    51
    Quote Originally Posted by mossj View Post
    I think IE8 could also help here, as if you press f12 it brings up a rather nifity sourceviewer, that has html on one side and relavent styles on the other... if it doesn't work it could be being overidden and that will help identify how/where.
    Also if you have firefox, check out the add on called firebug, its a nifty little tool with one of the bonus features of letting you play with css/html in real time within the browser window to debug stuff.

  9. Thanks to p858snake from:

    Little-Miss (30th May 2009)

  10. #7

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,547
    Thank Post
    2,377
    Thanked 750 Times in 459 Posts
    Blog Entries
    2
    Rep Power
    543
    Cheers guys, i'll take a look.

    This is a cool little gallery and its going to save me a lifetime of work because i can teach my friend how to upload his own artwork.

    The only bad thing is that the folder, cant have subfolders, which is a bit of an organisational nightmare. It doesnt look like the creater has done much recently either.

    So is anyone up for a challenge? Can you create some nice subfolders? Might create another thread for this one...

    While you're there, does anyone just wanna do all my work for me?

  11. #8
    mossj's Avatar
    Join Date
    Dec 2008
    Location
    Leicester
    Posts
    1,466
    Thank Post
    157
    Thanked 189 Times in 174 Posts
    Rep Power
    52
    Out of interest did you check out gallery2? There demo has a few simplistic templates as well... and i have the default template hosted here (pm me if you want to play with it)

    I will be using it in school and it would seem fit for your purpose without to much fiddling (although could be overkill)... and most hosts support it (mine do...but then I'm my host )
    Last edited by mossj; 30th May 2009 at 04:21 PM.

  12. #9

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,547
    Thank Post
    2,377
    Thanked 750 Times in 459 Posts
    Blog Entries
    2
    Rep Power
    543
    *Little-Miss raises head from desk long enough to type short message*

    Ok...i've tried what they suggested....got the first attempt at subfolders working...so now for example my friend has a folder called Art, in there is 2 folders, Painted and Sketched. Whereas before they all had to be in the Art folder, it now automatically make 2 entries Art/Sketched, Art/Painted. Which is a step in the right direction, just not a very eye pleasing one. For some reason when i try to add the next hack, the one that looks how i want it, it just kills my gallery. Grrr

    *places head back on desk*

SHARE:
+ Post New Thread

Similar Threads

  1. CSS & Styles
    By phillipmillward in forum EduGeek Joomla 1.5 Package
    Replies: 1
    Last Post: 28th September 2008, 07:30 PM
  2. Need some Coding
    By russdev in forum Web Development
    Replies: 5
    Last Post: 11th November 2006, 10:49 PM
  3. Windows Mobile Coding
    By plexer in forum Coding
    Replies: 4
    Last Post: 24th June 2006, 07:55 PM
  4. CSS Basics & Demos
    By Diello in forum Web Development
    Replies: 14
    Last Post: 19th July 2005, 08:46 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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