Forum Replies Created
-
AuthorPosts
-
john
ParticipantThis reply is private.john
ParticipantSorry, Zed, when i copy and paste the code it leaves part of it out. I added class=”style-svg” within the <img tag between id=”bg_image” and alt=” ‘
john
Participantif (isset($himgsrc) && ($himgsrc != ”)) : echo ‘
‘; endif;
john
ParticipantMy previous post seemed to omit part of the code
if (isset($himgsrc) && ($himgsrc != ”)) : echo ‘
‘; endif;
john
ParticipantDear Zed,
Thank you for your reply. I did ty to add that to read:if (isset($himgsrc) && ($himgsrc != ”)) : echo ‘
‘; endif;
But as you predicted it didn’t work. It’s a pity as the SVG functionality works with all other images including the sliderimages on the presentation page – but that’s not where the priest wants it, lol!
Thought it might work if i placed the interactive part as an image within the header widegt, but no joy.
The plugin automatically adds class=”style-svg” to the
tag. Hmmmm.
I suspect i may be near the limit of my understanding/competence. I don’t want to impose, but if there is an easy fix please let me know.
Thank you for your patience and assistance.
Johnjohn
ParticipantDear Zed,
Thank you for your reply. I’m not a coder, so this is all a bit beyond me. The site will be for our church. This functionality isn’t something I envisioned, but having spent a couple of weeks drafting the site, it has now been thought of as a “good idea” by the clergy of the parish!I did manage to find:
function nirvana_header_image() {
$nirvanas = nirvana_get_theme_options();So I will try to add class=”style-svg” within the () of the first line above.
I did also find $attr () after the nirvana_get_theme_options somewhere, but i’ll try your suggestion first.
I had hoped to be able to add it via the CSS customiser so it will stay if the site is updated. But I guess not. Not going to do it now as it is 1 AM here and I am away for 2 days for our 25th Wedding Anniversary in the morning – even I wouldn’t get away with bringing the laptop!
So if it is a couple of days before i try it, please don’t think i don’t appreciate your guidance.
Best regards
John -
AuthorPosts