Forums / Setup & design / images , css , style / theme package

images , css , style / theme package

Author Message

Andre Felipe Machado

Tuesday 03 October 2006 10:26:09 am

Hello,
I am trying to customize a style / theme package for my blog site.
But when I try to use images (bullets, arrows, buttons) in the css, they are not shown.
I downloaded some of community contributed styles and examined them to see the relative url of images.
Also, read the excellent beginner tutorial at
http://ez.no/community/articles/build_table_less_css_layouts_with_ez_publish
and successfully modified a style / theme package and imported it.
But if I try to show "arrow.gif" in front of the links, they are not shown.
The search button and login button are now shown, as you can see at http://www.techforce.com.br .

What went wrong? File permissions? Paths?
Regards.
Andre Felipe Machado

PS: Using Firefox free extension webdeveloper, is easy to see the css files.

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

Claudia Kosny

Tuesday 03 October 2006 11:04:47 am

Hello Andre

Try using (../images/arrow.gif) as path.
The stylesheets are usually in the folder /design/news/stylesheets and the pictures in the folder /design/news/images. Thus the path for the pics must go to the parent of the stylesheets folders and then into the images folder.

I am not sure whether the structure is the same for the supplied styles, I have never looked at them.

Greetings from Luxembourg

Claudia

Andre Felipe Machado

Tuesday 03 October 2006 5:41:51 pm

Hello,
Many thanks for your message.
I already tried your relative url suggestion.
When a style is packaged, its files are stored in another directory tree, very different from the supplied stiles.
The css files are in
/var/news/storage/packages/navy_blue_light_grey/files/default/file directory and
images are in
/var/news/storage/packages/navy_blue_light_grey/files/default/file/images
directory.
The example style packages use the ../images/picture.gif url style.
Maybe, there is some override at another place.
Any ideas?
Regards.
Andre Felipe

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

eZ debug

Timing: Jan 18 2025 11:35:11
Script start
Timing: Jan 18 2025 11:35:11
Module start 'content'
Timing: Jan 18 2025 11:35:12
Module end 'content'
Timing: Jan 18 2025 11:35:12
Script end

Main resources:

Total runtime1.1456 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 587.7266180.8359
Module start 'content' 0.00680.9195 768.5625541.1250
Module end 'content' 0.92630.2192 1,309.6875332.7734
Script end 1.1456  1,642.4609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.01421.2396210.0007
Check MTime0.00690.6004210.0003
Mysql Total
Database connection0.00090.077310.0009
Mysqli_queries1.040590.82501940.0054
Looping result0.00230.20491920.0000
Template Total1.105696.520.5528
Template load0.01351.178920.0068
Template processing1.092195.328020.5461
Template load and register function0.00010.013010.0001
states
state_id_array0.00110.092210.0011
state_identifier_array0.00120.100520.0006
Override
Cache load0.01261.0979400.0003
Sytem overhead
Fetch class attribute can translate value0.00280.243530.0009
Fetch class attribute name0.00280.246940.0007
XML
Image XML parsing0.00100.085430.0003
class_abstraction
Instantiating content class attribute0.00000.000950.0000
General
dbfile0.00360.3102270.0001
String conversion0.00000.001330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs