Forum Replies Created
-
AuthorPosts
-
David ChuParticipant
Hi JS,
I've become the de facto guy around here for playing with attributes. 馃檪 You can indeed add or change attribute items on the HEAD tag. Here's an example.btw, this feature has been there for quite awhile, you can alter or add attributes all over a webpage. It's just that most people don't mess with attributes that much. Look in \lib\functions\markup.php in the framework to see all the possibilities.
Thanks, Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantThanks, Victor!
As a coder, I had been puzzled by itemscope='itemscope', which seems to be all over the place, possibly due to those tuts you mentioned.I couldn't decide if this would simply be from the Department of Redundancy Department, or could even result in a singularity, sucking all matter into a black hole.
Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantHi,
Hard to say from outside, but I would suggest following the first procedure in this article, re-saving the permalinks:http://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-posts-returning-404-error/
Good luck,
Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantHmmm,
Not knowing the innards of your site, I can only offer "boilerplate" advice here - I would try disabling plugins one at a time until the problem goes away. Obviously that doesn't tell how to fix the plugin involved, but helps identify the problem.You could check with official Studiopress support and find out if they've seen anything like this.
Beyond that, it may not be a Genesis problem, so maybe the WordPress.org forums might give some clues. There have been a variety of problems people got after upgrading to 4.3.
Good luck,
D
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
August 19, 2015 at 3:32 pm in reply to: Retrieving a variable from a custom function and getting "Undefined variable:" #162906David ChuParticipantAugust 19, 2015 at 2:13 pm in reply to: Retrieving a variable from a custom function and getting "Undefined variable:" #162896David ChuParticipantHi,
Many Genesis hooks do not expect you to return a value. You can usually echo something, or do some other type of function.Also, genesis_pre is long since deprecated. I didn't even recognize it at first. 馃檪 Consider taking a look here to see which hook to use if you're using the current version of Genesis. There's no way to tell from your note, but maybe you're looking for genesis_before or something up there.
Good luck,
Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantHi,
I'm not sure, but I have some things to check. Some of them may be known to you already.You have WP 4.3, and I've had no trouble doing menu editing in the regular places with 4.3. As I understand it, you need to have Genesis updated to 2.1.3 to have it work well with WP 4.3, so that's something to check.
If all that is in place, then you may want to check and see if any plugins also need an update to work with 4.3, or consider contacting official Studiopress support.
Good luck,
Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
August 18, 2015 at 3:26 pm in reply to: Altitude Theme – Remove Filter on Featured Section Images #162784David ChuParticipantYou would need to adjust the digital colors in the settings mentioned above, the "rgba" settings, that is. If this doesn't sound familiar, you'd need to hire someone with the skills to do that. It wouldn't be a 1-liner answer, because the number of possible colors is essentially infinity.
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantHi,
You're so close - you've done all the background work. I looked at your theme's CSS, I was surprised to see no code example of retina stuff... some apparently have retina examples, and others don't. So here's a bit of code you can try adding to your CSS. The idea is to have particular code for the retina devices, and this should cover many scenarios.So you'll want to get your bigger image up there in your theme's images folder, correct my example image name below, and finally add this to your style.css:
@media only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) { .site-header .title-area { background: url(images/biggerPhoto.png) no-repeat !important; background-size: 640px 170px !important; } }
I nearly always avoid !important, as it's cheesy. 馃檪 But it's needed here because your theme is generating its own !important based on theme settings, so we have to override it.
The idea is to have the smaller (faster-loading) image for non-retina devices, and the new one for retina ones - the best of both worlds. Another key is to use background-size so that it's squeezed down to the regular image's size.
I'd be curious if this works for you.
Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantGrafix,
I'm glad you took that in good stride!Keep up the good work,
Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantThis reply has been marked as private.David ChuParticipantHi,
It depends on exactly what you mean by responsive for a background - many people have different ideas. 馃檪 I have one quick suggestion for you. It will not work in really old (or lamer) browsers, but it's very common practice now. Your CSS for the background image is inline, I guess, so it's being generated some other way than from style.css. Nonetheless, you can try adding this to your style.css to "augment" that code..custom-background .site-header-banner { background-size: contain; }
This will cause the background to resize as the screen gets narrower. It does get shorter as well as narrower, which people don't always expect - your image is much wider than it is tall - but I think it will look fairly decent.
Enjoy,
Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantHi,
That's very pretty, a visual tour-de-force. It's got the hipster one-page thing, which appears to be working.Like many hyper-visual sites, it has a certain amount of mystery meat. You have to scroll down to figure out the point of the site is, other than showing pretty pictures. Eventually you reach a portfolio, so apparently she wants to sell design services?
I'll admit I'm not crazy about the "Watch this space" bit. That's like a modern day version of the picture of the construction worker with "Under Construction". It seems unfinished, and if I saw that, I'd never come back.
You have "filed under" at the bottom of the page. You'll want to clean that out. 馃檪
I think it could use some SEO attention, too. Not too much to latch onto there. Single page sites often suffer from this, although things can be done to help with that. (that's a larger topic, and out of scope here).
I'd also probably encourage a stronger "call to action" than just displaying a contact form.
Sorry about the bad news. I feel your pain - my clients also want visuals, and don't really have a sense of what to use for content beyond that. In any case, a very attractive site to look at, nice visual design job.
Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
August 6, 2015 at 7:49 am in reply to: Foodie them blog page not showing post excerpts on certain posts #161576David ChuParticipantThe whole excerpt thing is quite complex, and may be set up differently in each theme. Here are some quick examples.
- The theme will grab the first 55 characters from the Post, stripping out formatting HTML
- If you fill in the excerpt area on the Post editor, it will use that instead.
- A programmer can code the theme to get a different sized excerpt, and could even code it to retain formatting HTML
That's very general, and often works. BUT... if a plugin is involved, or custom theme settings are involved, some (or all) of that may be thrown out or overridden. The plugin and/or theme settings often show up when you try to use a widget. So these are beyond the control of the user, and can really only be changed by the theme developer. I've written lots of code for people who want something changed in their excerpts, and it can be straightforward or pretty hairy, depending on what's requested.
So Moody is right... short of hiring someone, you'd best ask the theme developer. But honestly, what you're asking for, kind of having your cake and eating it, too, is most likely a custom coding request in the end, and they may not want to do that without extra payment.
Good luck,
Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantSharon,
Sorry to hear that. I don't have Parallax Pro,On my theme it works on either the primary or secondary. It may be worth pointing out that the Parallax Pro demo has the Primary at the top, and the Secondary way down at the bottom. Of course you may have swapped them. Beyond that thought, and double-checking exactly what you un-commented, I'm afraid that's it for me without being inside the site.
Last random idea... the way various Studiopress themes are set up, sometimes they initiate the framework in different ways and in different orders. You could try the code at the end of functions.php, for instance, or change the priority number, the "10" in the call.
Good luck,
Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantYW!
The easy way: just do a find on "590" in your CSS until you find it. 馃檪 Or "#content". Your CSS is minified, so that's about as specific as I can get from outside.Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantHi,
Your content column is only 590 wide, so the bigger seed photo is not fitting. Since the styling of photos in content also has 10px of padding, I would suggest using photos only 570 wide.Then there's also a hard-coded width of the DIV holding the photo, so that will need to be corrected wherever that's coming in.
<div id="attachment_14456" style="width: 650px" class="wp-caption aligncenter">
Hope that helps,
Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantThis reply has been marked as private.David ChuParticipantMaira,
You're welcome, glad to hear it!I'd be interested in seeing the results. 馃檪
Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
David ChuParticipantMaira,
That's a fun brainteaser. 馃檪 As a CSS geek, I usually I try to CSS-code my way around this type of thing with CSS3, fancy selectors, and such, but I can see you have tricky specs here.Instead, here's a fairly painless way to make that happen. 馃檪
Enjoy, Dave
Dave Chu 路 Custom WordPress Developer – likes collaborating with Designers
-
AuthorPosts