Alex Cragg
Forum Replies Created
-
Forum: Plugins
In reply to: lightbox doesn’t worktry hard coding the call to the javascript and css with full urls
eg
<link rel="stylesheet" href="https://www.domain.com/wp-content/plugins/lightbox/css/lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="https://www.domain.com/wp-content/plugins/lightbox/js/prototype.js"></script> <script type="text/javascript" src="https://www.domain.com/wp-content/plugins/lightbox/js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="https://www.domain.com/wp-content/plugins/lightbox/js/lightbox.js"></script>
then add
rel="lightbox"
to your image codeeg
<a href="https://www.domain.com/wp-content/images/pic.jpg" rel="lightbox" title="pic"> <img src="https://www.domain.com/wp-content/images/pic.jpg" alt="pic"/></a>
Forum: Themes and Templates
In reply to: No images load in IE7bumpety bump
Forum: Fixing WordPress
In reply to: Image bullets in sidebar links…just realised this is pretty much geoffe’s suggestion, but puts the css in your normal file, and you don’t need to enter it specifically for each li
Forum: Fixing WordPress
In reply to: Image bullets in sidebar links…if anyone is still interested, or hasn’t found it in another topic, ive found an ‘easy’ way to sort this.
in wherever you want the list to display make your li tags like this:
<ul><li id=boy>fred</li> <li id=girl>jane</li></ul> this then makes each link dependent on whether it is a boy or a girl, and different images can be displayed...so ...on your stylesheet add
#boy {background: url(..boy.png) padding:xxx;}
#girl {background: url(..girl.png) padding:xxx;)`you then need to change the specific padding to fit the image in:
#cronies ul li {padding: 0px 0px 0px 10px;}
this id is the one for where your list is, the equiv to sidebar, navigation etc etc
hope this helps
Forum: Your WordPress
In reply to: any improvements?AJAX is now working, but im not currently running it as its not valid XHTML,
but still, what do people think of my site?
Forum: Themes and Templates
In reply to: Lightbox CSS Validationi’m pretty sure that’s what i’ve done, but i’m still getting errors,
see here for errors:
https://jigsaw.w3.org/css-validator/validator?uri=https://www.epicskitours.com/this is the head section of my header file where the css is called
<link rel="stylesheet" type="text/css" title="Default Style" href="<?php bloginfo('stylesheet_url'); ?>" media="screen, projection" /> <!--[if IE]> <style type="text/css"> @import "https://www.mydomain.com/wp-content/themes/epic/styleIE.css"; </style> <![endif]--> <link rel="stylesheet" href="https://www.mydomain.com/wp-content/plugins/lightbox/css/lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="https://www.mydomain.com/wp-content/plugins/lightbox/js/prototype.js"></script> <script type="text/javascript" src="https://www.mydomain.com/wp-content/plugins/lightbox/js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="https://www.mydomain.com/wp-content/plugins/lightbox/js/lightbox.js"></script> <?php wp_head(); ?></head>
i hope people can help, i really want to get this site validated properly
Forum: Your WordPress
In reply to: Brand new themei agree, get rid of the close function, or at least let us open it back up again, cause its java, pressing back doesnt work…i ended up with a grey screen with nothing on it, which isnt the best way keep my attention ??
Forum: Your WordPress
In reply to: New theme for review…hey, cool theme, some improvement with graphics and this could be really cool
things like more rounded edges, everything looks a little flat
and the most petty thing ever….but….your folded over page corners are actually impossible…that is to say that the horizontal is longer than the vertical, try it with a
piece of paper…!!! i guess its one of those things that you are so used to seeing, that when its different, its noticeable, to me anyway!!!good luck
Forum: Your WordPress
In reply to: Really need help!that is pretty cool, the third one i mean. and its def the best.
can i ask, how did you get the images on your sidebar, its been something ive been thinking about doing for a while, any tips?
nice theme
Forum: Your WordPress
In reply to: any improvements?oh, and can anyone tell me why i cant get ajax working on this site? tried the google ajax search, and the ajax theme switcher from dan cameron, but neither work, and i know its my theme, cause ive got it to work on another theme
Forum: Your WordPress
In reply to: Is this too light?i too like the minimalism…but would a minimalist theme have a font like yours? i have no suggestions, but maybe find something a bit squarer and bolder.
on the up side, grey on white is better than black on white, which would look absolutely pointless…
Forum: Fixing WordPress
In reply to: Search pages as well as postswhich file should i be putting that into? and do i have to define what the_excerpt and the_title are? if so where? Found this as on another post…which im assuming would work so that if it was search results it displays excerpt, and if it was normal view it would show the content, but where should that go?
<?php if ( is_search() ) {
the_excerpt();
} else {
the_content();
} ?>Forum: Themes and Templates
In reply to: Static Sidebar and a Dynamic sidebarnot entirely sure, cause ive been playing round with it so much…and not properly sure of order, but it was somethgin like this
i know i did the following
1. made sure that i included the following in my sidebar.php
<?php if ( !function_exists(‘dynamic_sidebar’)
|| !dynamic_sidebar() ) : ?>
————
<?php endif; ?>
and made sur it was inside the <div></div> markers(think i put it before the <div> before.)2. Installed King_framework and king_pages
3. Changed some title_li tags to title_ul tags in the king_pages.php cause it wasn’t following my theme, except in the header.
4. King Pages also allows you to exclude certain pages from the sidebar and also to put them in several different orders, i chose id.
5. removed ‘pages’ from the fold_page_list.php because it was appearing in between my nav bar title and the page list
function wswwpx_fold_page_list ($args = ”, $fullunfold=false) {
parse_str($args, $r);
if (!isset($r[‘depth’])) $r[‘depth’] = 0;
if (!isset($r[‘show_date’])) $r[‘show_date’] = ”;
if (!isset($r[‘child_of’])) $r[‘child_of’] = 0;
if (!isset($r[‘title_li’]) ) $r[‘title_li’] = __(‘ ‘); <——–here
if (!isset($r[‘echo’]) ) $r[‘echo’] = 1;5. Changed the css to get rid of some bullet points that had appeared
#navigation {float: left;list-style: none;}think thats about right, maybe there was another step between having an unformatted list and having a formatted list with pages stuck in the middle, but cant remember.
thanks, hope that builds to your knowledge, and that you understand it more than i did!!!!
Forum: Fixing WordPress
In reply to: Search pages as well as postsbrilliant, now displays posts and pages. wahoo.
now…
how do i format the results to display a title and a snipet? instead of every page one after the other for ever and ever down the page,
thanks again
PS, using searcheverything one by dan cameron
Forum: Themes and Templates
In reply to: Static Sidebar and a Dynamic sidebarsorted