KameramanDan
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Zerif Lite] Mobile site header misalignmentYatta! It works, thanks very much all!
Forum: Themes and Templates
In reply to: [Zerif Lite] Child ThemesMy child theme (/themes/zerif-lite-child/) style.css is:
/* Theme Name: Zerif Lite Child Theme URI: http://trafficpower.com.au/wp-content/themes/zerif-lite-child/ Description: Zerif Lite Child Theme Author: Dan Power Author URI: http://danpower.com.au Template: zerif-lite Version: 1.0.0 License: GNU GPL License URI: Tags: Text Domain: zerif-lite-child */ .navbar-brand img{ max-width: 200px; height: auto; }Forum: Themes and Templates
In reply to: [Zerif Lite] Mobile site header misalignmentThat’s a nightmare. This theme seems to update regularly and I don’t want to have to change this code every time….
I’ll start a new thread about child themes.
Thanks for your help!
Forum: Themes and Templates
In reply to: [Zerif Lite] Mobile site header misalignmentThanks @kharis,
I added your code to the bottom of style.css and it didn’t work.. however changing
.navbar-brand > img { max-height: 100%; }to
.navbar-brand > img { height: auto; max-with: 200px; }did work…
Will that code change have any impacts elsewhere in the theme? I notice that it has changed the logo on the desktop site slightly, but that’s ok as it’s only a tiny change and doesn’t really affect the look of the site.
Also I tried to add this to a child theme as themes/zerif-lite-child/ with the following code in style.css:
/* Theme Name: Zerif Lite Child Theme URI: http://trafficpower.com.au/wp-content/themes/zerif-lite-child/ Description: Zerif Lite Child Theme Author: Dan Power Author URI: http://danpower.com.au Template: zerif-lite Version: 1.0.0 License: GNU GPL License URI: Tags: Text Domain: zerif-lite-child */ .navbar-brand img{ max-width: 200px; height: auto; }but as soon as I enabled it the theme went crazy, almost all customisation disappeared and the theme elements were all over the place… is it easy to add a child theme, have I done something wrong here?
Forum: Themes and Templates
In reply to: [Zerif Lite] Mobile site header misalignment1.8.2.8
Forum: Themes and Templates
In reply to: [Zerif Lite] Can the contact form be added to every page?Actually sorry I just had a look and I think pirate forms is already installed? If so then all you have to do to add a contact form to a page is add the shortcode [pirate_forms] and boom there it is
Forum: Themes and Templates
In reply to: [Zerif Lite] Mobile site header misalignmentBump, anyone?
Forum: Themes and Templates
In reply to: [Zerif Lite] Can the contact form be added to every page?I installed pirate forms for a contact page and you could use that to show a contact form on every page.
Forum: Themes and Templates
In reply to: [Zerif Lite] Mobile site header misalignmentScreenshot here: http://trafficpower.com.au/screen.png
Forum: Plugins
In reply to: [Contact Form 7] Double success messageYep that’s it, went back to TwentyFifteen and it displays well and the screen reader success message doesn’t display.
I did some fairly heavy modding of the theme originally but I’m not really a coder, can find my way around but most of it is guesswork ha.
The screen reader success message doesn’t bother me but I would like the nice green success box, currently I just get a plain text message. Hmmm we’ll see how much time I have today…
Forum: Plugins
In reply to: [Contact Form 7] Double success messageActually my bad, I missed a third level link to http://kb.cf7skins.com/javascript-conflict-problems/ which looks like it might be useful. Thanks Jason, your post made me have a second look 🙂
It may end up not being a problem anyway, as I have changed my Google Conversion setting to only record one conversion per ad… this makes more sense anyway, since if a user contacts me three times through the website they’re still only one lead so I would only want to record one contact.
Still want to work out why it was happening and why the form isn’t displaying nicely like it does in the screenshots 🙁
Forum: Plugins
In reply to: [Contact Form 7] Passing GCLID through in the email from CF7Hi, I found this post about passing a form value through in the email, it seems the author is trying to do a similar thing to me with a different value. This led me to an article about Getting Default Values from the Context.
So reading through all this it seems that if I can insert this code into CF7:
<input type="hidden" id="gclid_field" name="gclid_field" value="">then I will have a value called “gclid_field” which would be populated by the second half of my main code block in the post above. Then I should be able to add something like the following to Message Body in the Mail tab to insert the value of gclid_field into the email as text…
GCLID: [gclid_field]Is that correct?
If so, the only problem is I can’t work out where to put the input tag…. I’ve searched through all the PHP files for other input tags and can’t find them. Let’s say I want to
Apologies for what is probably such a simple question, I’m a photographer not a coder 🙂
Thanks
Forum: Plugins
In reply to: [Contact Form 7] Double success messageHi davmerit,
Thanks for the reply, but the Javascript Conflicts section in that link doesn’t give any information, it just suggests that conflicts might occur.
Is there a way I can tell what is conflicting?
Does it help to know that it looks like the CSS isn’t loading for CF7? I took a screenshot but it seems I can’t post it. You can see the form at danpowerphotography.com.au/about-contact/
Thanks
Forum: Plugins
In reply to: [Contact Form 7] Double success messageSorry forgot to mention my site is danpowerphotography.com.au
Cheers