Forum Replies Created
-
AuthorPosts
-
June 4, 2014 at 11:30 pm in reply to: Add an image download link to portfolio gallery image enlargement lightbox #274857
Great, thanks Josue,
One further question relating to the link referenced above – specifically “…modify the plugin after the wp_footer() call in footer.php” where exactly would I look in the theme files to find the .php mentioned?
I’m guessing it’s not simply the footer.php file in the main theme directory(?)
Where are the theme’s PrettyPhoto files stored?
Sorry, this is just outside my comfort zone – so apologies if I’m asking dumb questions.
Thanks,
JasI may have just found the answer – is this what you would recommend?
Hi Yigit,
Thanks for your response, a couple of things – all my images have alt text already, & this is not a gallery image – it’s a single image in a column that the user clicks on to enlarge (lightbox).
So the text is there – it’s just not rendering for some reason.
It’s working fine for me in Firefox 29, & actually Chrome 34 – it just takes an awfully long time to render everything in Chrome.
JasHi Yigit,
Worked a treat (thought it was going to be trickier – sorry)
Thanks!
JasHi Peter,
Yes – totally understand, can you recommend anyone who may be able to help in this regard?
JasMay 5, 2014 at 11:19 am in reply to: Frontpage – hide post date for a specific category only #260181Hi Peter,
Yes, absolutely: http://www.cdc.org.nz
Thanks!
JasHi Peter,
Thanks for your reply – will this mod allow me to specify different terms for different URL’s?
In other words, there will be other PDF files which will have different titles (as opposed to ‘Living in Christchurch’) & there will be other file types too, like images & video’s – so I’d like to (ideally) add tracking terms on a URL by URL basis.
Might be a bit tricky yeah?
JasHi Ismael,
That is perfect – thank you very much!
JasHey Devin,
No, it’s a standard post, & the thumbnail (which is the featured image) links to the post (which is I guess default behaviour).
If you look at this site: http://www.cdc.org.nz/ down the bottom is Latest Documents, this is a Color Section with 5 content blocks displaying 5 posts.
Each of those posts are pulled from a category, displayed in a Grid Layout, displaying the Excerpt only, with a custom thumbnail of 80×80.
I’ve got a date offset on four of them.
The thing is, 4 out of 5 of the Excerpt text links, link directly to PDF files, whereas the thumbnail links to the post.
Ideally what I’d like to happen is to be able to specify where the thumbnail links to, or (I guess) remove that functionality from the thumbnail image.
Unless you can think of another way I can achive what I’m after?
JasCertainly, here we go: http://www.cdc.org.nz
April 23, 2014 at 11:35 am in reply to: Layout Builder – Text Block Visual tab not rendering text after WP 3.9 upgrade #254842Ok, I’ve sorted this by updating to the latest theme version, but it’s changed something else which I’ll post about separately.
Ok, I’ve experimented, & seem to be able to achieve what I’m after – here’s the code I’ve used so far, probably far from ideal, so feedback on this would be great.
.page-id-4396 section.av_toggle_section:nth-child(1) > div:nth-child(1) .toggler { background: url(https://www.cdc.org.nz/wp-content/uploads/svg-icons/maximising-earthquake-recovery-opportunities-icon.svg); background-size: 39px 30px; background-repeat: no-repeat; background-position: 35px 5px; } .page-id-4396 section.av_toggle_section:nth-child(1) > div:nth-child(1) p { padding-left: 90px; }
Thoughts?
Hi Ismael,
Almost, it’s just not retaining the indentations – screenshot
So I tweaked another rule;
.page-id-4055 .sidebar_left .widget_nav_menu .current-menu-item > ul, .page-id-4055 .sidebar_left .widget_nav_menu .current_page_item > ul, .page-id-4055 .sidebar_left .widget_nav_menu .current_page_ancestor > ul, .page-id-4055 .sidebar_left .widget_nav_menu .current-menu-ancestor > ul {
padding: 0 0 0 13px !important;
}
I just tested it on one page (obviously) & now I have this screenshot :)
It seems I need the !important – would that be correct?
JasI think I may have sorted it :)
Does this look like the right way to do it?.main_color .sidebar .current_page_ancestor>a { color: #56802e; font-weight: bold; margin-top: 10px; border-top: solid 1px; } .main_color .sidebar .children .current_page_ancestor>a { color: #56802e; font-weight: bold; border-top: none; margin-top: 0; }
Hey Yigit,
I’ve managed to target the ancestors fine, but what if I wanted to style each individually?
Say, have Pivot Software as the default grey/normal, Software green/bold & Technology Sector green/bold with a border top.
I’m guessing it’s targeting the nesting of these items within the main ul?
Screenshot
JasPerfect – thanks.
Yep, I’ve gone with the 4 column portfolio – almost perfect out of the box, just need to makes a few mods to it :)
Thanks!
JasThanks Josue,
I had already started on that path & have found one I think may fit the bill.
http://codecanyon.net/item/subscriber-content-lock-for-wordpress/3654863
Thanks for your reply,
JasOk, my apologies, I can also confirm that is does load above Sidebar Pages – but not the Page Sidebar Navigation (which I have checked under Theme Options).
So I should have been more specific – sorry.
Can I load the Displayed Everywhere above this too?
Just looks a bit weird having (in may case the Search) at the top of every page apart from those where the sidebar navigation is present.Hey Peter,
Yes, I can confirm it loads above custom sidebar’s – but not the Sidebar Pages widget.
Is there anything else I can check?
JasHi there,
This seems to work fine for custom sidebar order – but what about Sidebar Pages – this is still being displayed above the Displayed Everywhere widget.
As an aside, I’m using Enfold Child, so I’ve simply made the modification to sidebar.php in this theme folder & uploaded, I presume this will overwrite the sidebar.php in the parent theme folder?
Thanks,
JasThanks Yigit,
I’m afraid that’s slightly over my head :|
How do I know what code a particular icon uses? Is there a list or similar?
What if I have an image that opens in a light-box, or a video – is there a way I can somehow choose the icon individually, or is the icon tied to the file type itself?
For example, linking directly to a pdf file displays the same icon as default, which is linking to the portfolio item (an arrow).
How would I display a file type icon for this (pdf) – as opposed to the default arrow?
Cheers,
JasNovember 5, 2013 at 10:50 pm in reply to: Portfolio thumbnails size etc – hard crop inline style etc #184972Thanks – worked a treat!
November 5, 2013 at 5:39 am in reply to: Portfolio thumbnails size etc – hard crop inline style etc #184632Hiya,
I’ve taken more of a look at this & I’m still a little stumped.
If you could point me in the direction of what code/where to modify – I’d greatly appreciate it.
Thanks,
Jas -
AuthorPosts