[SOLVED] Permalinks and Custom Inserts
This my first ATA so here is the problem.
Using Version 3.6.1 Default permalinks with custom inserts works fine. I need to change the permalink to page name not page ID when I do this the custom inserts disappear on all the pages except for the home page. These are the inserts. /* Setup bullets for LI items on sidebar */ div.widget ul { list-style-type: none!important; } div.widget ul li a:link, div.widget ul li a:visited, div.widget ul li a:active, div.widget ul li a:hover { border-left: 0 !important; padding-left: 0 !important; } /* Normal bullet */ div.widget ul li { border-left: 0 !important; padding-left: 15px !important; background: url(background: url(./wp-content/themes/atahualpa/images/bullets/1.gif)no-repeat 0 3px ; } div.widget ul li:hover{ border-left: 0 !important; padding-left: 15px !important; background: url(./wp-content/themes/atahualpa/images/bullets/3.gif) no-repeat 0 3px; } ul { list-style-type: none!important; } /* Normal bullet */ div.page ul li { border-left: 0 !important; padding-left: 15px !important; background: url(./wp-content/themes/atahualpa/images/bullets/PostBullets.gif)) no-repeat 0 3px; } It has to be something simple but I cannot find it on the forum. Thanks in anticipation..:) the site "accolademeasure.co.uk" |
Please define what mean by "custom inserts" and what you are trying to accomplish.
|
Hi thank you for such a prompt response.
I just got it!! how stupid but lost too many hours. The insert needed to look like this in the add css,html section. /* Normal bullet */ div.widget ul li { border-left: 0 !important; padding-left: 15px !important; background: url('<?php echo get_template_directory_uri(); ?>/images/bullets/1.gif') no-repeat 0 3px; I had. background: url('<?php echo get_template_directory_uri(); ?>/wp-content/themes/atahualpa/images/bullets/1.gif') no-repeat 0 3px; All because of the permalinks structure. Thanks any way. |
All times are GMT -6. The time now is 02:27 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.