[SOLVED] Displaying CB Content module on all pages

12 years 9 months ago - 12 years 9 months ago #171477 by mark102
Replied by mark102 on topic Re: Displaying CB Content module on all pages
Correct me if there's something wrong:

- Open the CB Content module and I put in the CSS windows all similar lines to these:
ul.cbMenuULlist li.cbMenu_UE_UPDATEAVATAR a {background:url(images/mini-icons/cbicons.png) repeat-y 0px -5429px; display:block;}

- Take a copy of mini-icons/cbicons.png in the joomla/template in use folder/images


Is it something like this?

Please Log in to join the conversation.

12 years 9 months ago #171481 by mark102
Replied by mark102 on topic Re: Displaying CB Content module on all pages
After first test the correct folder for a working solution is the joomla_root/images/mini-icons (not template).

Do you think is it a good solution?

Please Log in to join the conversation.

12 years 9 months ago #171482 by pepperstreet
Replied by pepperstreet on topic Re: Displaying CB Content module on all pages
@mark102
Yes, those are the correct lines. If you use the copied CSS lines with this background image path:
images/mini-icons/cbicons.png

...the image is searched here:
YOURTEMPLATE/CSS/images/mini-icons/

In general, your templates CSS folder contains only CSS files ;-) But thats just an organizational question. Its up to you, if you re-create the image folder inside this structure.

Otherwise, you would have to copy the image into YOURTEMPLATE/IMAGES/
And remember to adjust the path in your copied lines.

Please Log in to join the conversation.

12 years 9 months ago #171485 by mark102
Replied by mark102 on topic Re: Displaying CB Content module on all pages
@pepperstreet

the path JOOMLA/TEMPLATE/MYTEMPLATE/CSS/IMAGES/MINI-ICONS doesn't working
It's working on JOOMLA/IMAGES/MINI-ICONS

Do you know why, please?

Please Log in to join the conversation.

12 years 9 months ago - 12 years 9 months ago #171501 by pepperstreet
Replied by pepperstreet on topic Re: Displaying CB Content module on all pages
Sorry, don´t understand. What do you mean with "working/not working". Please, describe where you pasted the CSS lines? Where and in which file? The location of YOUR CSS file is the starting point... all paths to images depend on this starting location...

just check other referenced images in your main template CSS file. What is their path...? Where are those images...?

Compare them... and simply adjust the path and/or location of "cbicons.png".



PS: I tend to replace this whole PNG with my own file. I mentioned my concerns some posts above ;-)

Please Log in to join the conversation.

12 years 9 months ago - 12 years 9 months ago #171503 by mark102
Replied by mark102 on topic Re: Displaying CB Content module on all pages
I've pasted the CSS lines of cb template in CB content module (it has a css area where you can include portions of css).

For "not working" I mean that the cbicons.png file is not displayed or loaded (because fail in this action for a wrong path in css).
Maybe you've do it simply pasting the css code of cb template in your css joomla template. Is it like that?

Now I've just created a folder mini-icons/cbicons.png in the default joomla images folder (public_html/images/mini-icons/cbicons.png) and the file is loaded correctly.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.339 seconds

Facebook Twitter LinkedIn