-
AuthorPosts
-
September 1, 2007 at 6:12 am #122463
I really like the Bonus CSS items in JA_Larix and want to add them to my JA_Shopping II site.
I copied the “Bonus” section from the template_css.css and added it to Shopping II’s template_css.css – but it didn’t seem to work.
What am I doing wrong? How can I add the bonus css features?
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
September 1, 2007 at 1:05 pm #228581I’m thinking that you will probably need to edit the templates index.php and change the class names to point to the new css class names, or find the class you want to change and overwrite the css styles with the new css styles, but leave the class name alone. You will also need to upload any images that belong to the added css.
September 1, 2007 at 11:40 pm #228610Ok, I’ve uploaded the images. But I don’t see what you are talking about in the index.php. I’ve looked at the index.php and it references the same css file that I’ve added the bonus typography to.
Any ideas?
I’m certain this is a feature that other club members would like too. 😀
September 2, 2007 at 12:00 am #228611I’ve copied the bonus typography to the template_css.css file and all the images to the directory. When I highlight the paragraph that I want to change to the class “stars” it changes to a “div class” instead of “ul class”. What is going on??
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
September 2, 2007 at 7:52 am #228619brothers;26447Ok, I’ve uploaded the images. But I don’t see what you are talking about in the index.php. I’ve looked at the index.php and it references the same css file that I’ve added the bonus typography to.
Any ideas?
I’m certain this is a feature that other club members would like too. 😀
Well, I’m no genius but I do know that your index.php should refrence the css file in question if you want the page to load with some styling, and that you need to add the new class to the element you want to change in index.php. My shopping II index.php is full of classes, so if you are using the shopping II template, you might want to take another look.
September 3, 2007 at 3:41 am #228667I’ve looked through my index.php file again and only see a few references for css files… I have zipped my index.php file and my modified template_css.css file.
You can find it at:
http://www.magnifierpublications.com/troubleshooting.zip
Could you take a look at them and tell me if the index.php is wrong? I just copied the bonus typography stuff from the JA_larix template_css.css file and pasted it into the shopping_ii template_css.css file.
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
September 3, 2007 at 7:18 pm #228706Exactly which element are you trying to apply the bonus css to, and which class from the bonus css are you trying to apply?
September 5, 2007 at 8:31 pm #228921<blockquote>Exactly which element are you trying to apply the bonus css to, and which class from the bonus css are you trying to apply?</blockquote>
I took the the entire section of bonus typography from the larix template and copied it into my template_css.css
So, far I have just tried to use the stars class.
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
September 6, 2007 at 1:39 am #228938You can’t just copy css code from one css file into another and just magically expect it to apply it’s self where you want it to.
If you want help applying the classes from the bonus css to the shopping II index.php, I will need to know which element in the index.php you are trying to apply the css to.
So far all I know is that you want to apply the stars class, but to which element do you want to apply it to?
If you can answer that question I can help you.Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
September 6, 2007 at 5:31 am #228943<em>@instantinlaw 26898 wrote:</em><blockquote>You can’t just copy css code from one css file into another and just magically expect it to apply it’s self where you want it to.
If you want help applying the classes from the bonus css to the shopping II index.php, I will need to know which element in the index.php you are trying to apply the css to.
So far all I know is that you want to apply the stars class, but to which element do you want to apply it to?
If you can answer that question I can help you.</blockquote>Just copy and paste and try it out,make sure you get everything with you on it(all the css,images) for the typo you wanna add. And check so you dont have any things named that first.
September 7, 2007 at 7:28 pm #229061<em>@instantinlaw 26898 wrote:</em><blockquote>You can’t just copy css code from one css file into another and just magically expect it to apply it’s self where you want it to.
If you want help applying the classes from the bonus css to the shopping II index.php, I will need to know which element in the index.php you are trying to apply the css to.
So far all I know is that you want to apply the stars class, but to which element do you want to apply it to?
If you can answer that question I can help you.</blockquote>I want my unordered lists to be able to use either the STARS graphic or the CHECK graphic as in the bonus typography. I hope that helps (I appreciate your assistance, btw)
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
September 8, 2007 at 4:57 am #229090Thats better, now I can help you.
Open the template_css.css file for shopping II and search for this code
li {
padding-left: 15px;
background: url(../images/bullet.gif) no-repeat 2px 5px;
line-height: 18px;
}
Replace the code with:
li {
margin-left: 15px;
padding: 0px 0 5px 20px;
background-image: url(../images/star-bg.gif);
background-repeat: no-repeat;
background-position: 0 1px;
}
and upload the star-bg.gif to the templates>ja_shopping_ii>images folder.Alternatively You can change
background-position: 0 1px;
to
background-position: 0 2px;
and so on for an alignment with the text that suits your needs.You may also want to modify the star graphic to have a transparent background so that it blends better with the template.
Good luck.
September 8, 2007 at 6:27 am #229096Thank you for putting so much thought and work to find me a solution… I appreciate it.
Ok, so now I can have a star in my line element …. that’s wonderful.
Is it possible to be able to choose between a star and a checkmark – like the latest templates in this club offer?
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
September 8, 2007 at 2:48 pm #229119Just about anything is possible with css, but I’ll have to look into it further. Are we talking about the css from JA Koniga being the latest template?
-
AuthorPosts
This topic contains 15 replies, has 3 voices, and was last updated by brothers 17 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum