Hi, yes id like the cat selected text to indent to the right instead of to the left.
Here's a link to the test template (not finished);
http://www.crushcosmetics.com.au/store/
Printable View
Hi, yes id like the cat selected text to indent to the right instead of to the left.
Here's a link to the test template (not finished);
http://www.crushcosmetics.com.au/store/
The picture makes all the difference :) You didn't want an indent on the right side of the text, you wanted the left edge of the text to move right instead of left when selected. That was entirely an effect of the different bullet the selected category gets.
You can move the whole line right like thisbut you can't give more space between the bullet and the text - that is an automatic CSS function and not user-settable.Code:/*change bullet when a category w/o bg image is open to products:*/
#categories li a.cat-selected-text {
list-style: square inside url(../images/bullet3.gif);/*change to list-style: none; to remove bullet*/
margin-left: 1.0em;
}
Padding and text-indent have no effect on this spacing either. You may be able to achieve your desire by editing the "selected" bullet image to have some transparent space at its right side, though I don't know if the CSS will detect that and eliminate it. Try it and let me know!
Lol!
Thanks Glenn that did the trick. :smile:
Hi,
Just trying to add a link to one of my headings and not getting it to work.
So I add within the categories dressing defines file the line:
For the title 'Design' to link to a design page what would I change to the above. (LINK)Code:define ('CAT_BOX_HEADING_33_35','0|0|||<a href="yourdestination">Linked Heading</a>|3');//link in text heading - style 3
I tried a few things but it didn't work :huh:
Thanks
What is the address of the design page? Is it the one in the link? That is the homepage, which you can do with
PHP Code:
define ('CAT_BOX_HEADING_33_35','0|0|||<a href="index.php">Design</a>|3');
Hello
Is there a way to use swf files instead of gifs?
I'd like to be able to just use one SWF with all the buttons in it and link to my categories myself, but i cant seem to make swf's work.
Sorry if this question has been asked here already I could find it in search.
Building your own flash menu is a completely different subject and not related to this mod. You should post a new thread in an appropriate forum if you want help with that.
The way you described it sounded incompatible with current coding, but if there are individual button files, that could work.
The current version is built to use gifs, so you would need to edit categories_dressing_functions.php to use .swf instead.
The new version 2.8 (not released yet, but ready to go) has a single define to set the image type.
Tried it and failed. Then I realized that flash has to be embedded. I need to be able to have the code generate <EMBED> tags where it would normally generate <IMG> tags but I can't seem to find where that is. :frusty:
Anyway maybe the new version could include this on the condition '.swf' is met.
Where bg color and name are vars or something. Wish I knew more about it.Code:<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" id=" ">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="catbg65.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#fffff" />
</object>
Either way thanks for the mod!