j@revive
Forum Replies Created
-
Forum: Themes and Templates
In reply to: changing hover color for custom menu items i addedAs the guy above said, you need to find the html element that has the hover effect (to do this firebug is a good option) and in your stylesheet use :hover to target it when someone is hovering. FYI for others, I recently found out you can select “hover” from the style dropdown in firebug to target that state – awesome! It seems to be this one.
#access li:hover > a, #access ul ul *:hover > a {
background: none repeat scroll 0 0 #83AFC7;
color: #FFFFFF;
}background: none !important; is what I think you want.
Forum: Plugins
In reply to: [Gallery without the Fluff] Gallery in three column table?Hi mate,
You do need to know some of the basics of html etc to work this plugin so another one might be a better option for you.
To get images in three columns I’d put divs around each image that are set with a width that is 33% of the total space. You wont get a “grid” as such. That’s a table and they can’t be setup properly in a loop like this.
The popup window is typically the effect of a jQuery script like lightbox or colourbox.
Another plugin would have a built in lightbox effect.Forum: Themes and Templates
In reply to: Image with border . . .Is the Image inside a post? Don’t forget you have an HTML tab to edit the HTML directly. You can find your <img> and add a style just to it e.g. <img style=”border 1px solid #eee;” />
I’ve had probs with jQuery enqueue too. In fact it has never worked for me. I use XAMP as local server and it doesn’t work. Neither does it work on my live sites. Have posted same issue before and someone always says it works fine, I must be doing something wrong. Anyway I just include a jquery version in my theme and call it. Not as good but at least reliable.
Forum: Themes and Templates
In reply to: Ie6 conditional stylesheetHi there,
<!–[if IE]><link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘template_url’); ?>/ieFix.css” /><![endif]–>
Should work. It’s a catch all for IE, not just IE 6. (Actually all the web designers I know (including me) have dropped support IE6, and so has Google I’m told. So maybe it’s a headache you don’t need?
Forum: Themes and Templates
In reply to: Help me – my dream layoutWordPress is definitely the go for you but you have a fair bit to pick up. I recommend buying an ebook called ‘digging into wordpress’ if you are serious about making this site.
You need to learn a bit about Cascading Stylesheets (CSS) too. Look up W3 Schools on the net and do some tutorials on that subject, as well as HTML. Combine that with the above ebook and you should eventually get there. The site you mentioned isn’t that difficult to create in wordpress.Forum: Themes and Templates
In reply to: two themes one site?Hi mate. No that’s one theme, but you need to do some customising. If you have a look at the files in a theme folder there are quite a few. One called home.php will always point to the homepage of your blog. If your homepage is not a blog, but a front-page with the title of “home” then a file called page-home.php would customise that. You could target every other generic page with a file called page.php, or, if it is a blog then index.php is the default file that would target every other page/post.
Might sound confusing but if you create a number of copies of your theme PHP file with different names such as those above you can alter each one and it will change the look of different pages/posts. style.css contains the stylesheet info you also need to modify. Check out the codex for more info or a great ebook called “digging into wordpress”.Forum: Plugins
In reply to: Headspace2 is limiting the number of meta characters I useSorry … after wading through the backend code I just happened to spot an edit icon in the page modules menu after the meta name and saw that the number of characters could be altered there. So problem solved.
Forum: Themes and Templates
In reply to: Matching a template to an existing siteI couldn’t see a left sidebar in https://www.st-g2020.com/blog, not sure what you mean there. But to answer your question if the sidebar already exists in your theme you should be able to modify what is there in style.css
You only need php if you are creating something new, like a new sidebar that isn’t there yet. If you don’t already use the firebug add-on for firefox I would recommend getting it for modifying themes. There is an inspect button in firebug that you can click on and hover over any element to see what its html is – which is invaluable when trying to figure out what css selectors to use to target that element.Forum: Themes and Templates
In reply to: How do I enqueue jQuery in my theme?hmmm… the plot thickens. Thanks again for your reply stvwlf. I made that change and still no effect. Then I took a copy of the jquery.js file in wp-includes/js/jquery/ and tested it on my local server with lightbox and it didn’t work with that either. I am currently using jquery-1.4.2.min.js which works with those plugins. But when I substitute this file in wordpress it does not. I’m not a javascript person. Any clues anyone?
Forum: Themes and Templates
In reply to: How do I enqueue jQuery in my theme?Thanks for your reply stvwlf.
I checked and my enqueue is before the wp_head. Actually I checked the source code and there IS a link to the wordpress jquery copy in the wp-includes folder, but for whatever reason that copy isn’t cutting the mustard with my accordion menu script. I’m using the jquery-1.4.2.min.js version which I include in my theme and that makes it work fine, so I don’t know what the difference is here. It should be the same. Tested on two sites and same result. Anyone else had this problem?Forum: Themes and Templates
In reply to: Let my client modify text that is in headerOr put a sidebar in your header and add a text widget to it. WordPress ships with a simple text widget or there are plenty of plugins. Just target the widget text in your CSS to get the desired look.
Forum: Themes and Templates
In reply to: Creating Themes from ScratchAbsolutely must have eBook for this …
DIGGING INTO WORDPRESS by
CHRIS COYIER & JEFF STARR
Will cost around $25. Just pay it. You won’t need anything else.Forum: Plugins
In reply to: Installed eShop and now can't connect to databaseJust following up to say it was a mysql fault on the server. So no problem at all with eshop which is what I hoped. Thanks esmi for your reply.
Forum: Plugins
In reply to: Installed eShop and now can't connect to databaseThanks esmi. It’s a friend’s server so I haven’t got direct access to the database but I’m trying to find that out. The timing seems very suspicious though as I’d only just installed the plugin. I hope it is just a coincidence.