Forum Replies Created
-
AuthorPosts
-
Hey there – That code does the trick, turning off the lightbox while leaving on the post title links so those are remain clickable . Thank you!
Hi there!
I’ve removed that code and the post title links are now clickable although that also enables the lightbox which I would like to turn off.
Is there a code that could could be used to only disable the lightbox? I have a child theme set up.
You had suggested that code to turn off the lightbox, which was a great solution to do that. And I did not appreciate it was also turning off the other pointer events.
See https://kriesi.at/support/topic/blog-images-at-native-size-without-hover/#post-236033Thanks so much.
- This reply was modified 10 years, 7 months ago by penumbra. Reason: clarity
This reply has been marked as private.Thanks Peter, that worked.
You guys have been great, many thanks for your support!
That worked! Is there a way to add the text “Leave A Reply” to that line of text 0 Comments on the post summary page, or below that line of text? So that the reader has a call to action.
Thanks!
Hi there –
How would I accomplish this using a child theme?
Thanks!
This reply has been marked as private.Hi Devin –
Many thanks for asking for clarification. What I’m asking about is the post info at the head of posts, after the post title on the blog page where the posts are collected. I would like to move this line of text to the end of each post on the posts page. Ideally I’d add the words “Leave A Reply”. Please see the link in the following private reply. I’ve also posted a screen shot (another link). I have author, date, and category hidden with in the style.css for the child theme using the code below.
Code I’m using now to hide part of the post meta on the blog page.
.date-container, .text-sep-date, .text-sep-comment, .blog-categories, .text-sep-cat, .blog-author { display: none; }
Really appreciate your help.Hi there –
How can I also move that comment option from the head to the end of the post and have it read “Leave A Reply” and the number of comments? I am running a Child theme.
I added your code to the css.style and it suppressed the post date, category and author except for number of comments.
Thanks!Thanks for this. I was not successful getting it to work this way. With your help I later took another approach that did work.
Hi there – This works beautifully! Thanks so much for your support.
Thanks for that answer.
Hi there –
I see the issue — still need a little help though. I had hidden the post-meta-infos so the ability to comment on each post was not being shown and since I had the content element “Comments” included in the blog page I wasn’t clear that was not the comment for each post.
So for the posts meta I’d like to hide the date, author and category but not the ability to comment and move that comment option to the end of the post and have it read “Leave A Reply” and the number of comments. Is that possible?
For the moment I’ve removed the code that was hiding the post-meta-infos. This is that code:
.post-meta-infos {
display: none;
}
Thanks!- This reply was modified 10 years, 8 months ago by penumbra. Reason: clarified question
This reply has been marked as private.Hi there –
Thanks for that code. It did move the menu out of the way of the logo on the iPhone although almost off the screen in vertical orientation but definitely an improvement. Two things to make it better:
1. When scrolling on desktop the logo get’s partially cut off (see screen shot via link).
2. I wonder if there a way to position that mobile menu just to the right of the logo (see screen shot via link).
I tried changing the size of the logo and could not make it better, it is currently 300×19 px.
Please see the posted screen shots of the desktop version and the iPhone running iOS7 via the links in the private reply below.
Best.- This reply was modified 10 years, 8 months ago by penumbra. Reason: additional information
This reply has been marked as private.This solved the main problem.
On an iPhone viewed vertically the menu is over the logo. Any fix for that?
If I add white to the bottom of the logo to better align it will I need to change the dimensions in the code?
Thank you!This reply has been marked as private.Hi Ismael & all –
Couple questions below but this worked. Thanks so much!
First I did it as Quick CSS and then moved it to the child theme’s style.css (it did not work as enfold-child>css>custom.css). Is this the best place to have this code, in the child theme style.css?
Is it possible to have the width for images (videos and stills) different from the text in the same post, where the images would be a max of 1200px but the text less? I can’t tell if the supplied code was supposed to do that and changing one or the other line to less than 1200px did not change just the text but both the image and text width.
Best.This reply has been marked as private.Hi Ismael –
Thanks for the update. I pasted your code exactly for both files, possibly I missed a line in the functions.php originally. The site launches although I am not sure it’s working correctly. I still have the round hover circle over the images when I remove the class=”noLightbox” from the post text. I assumed that hover was part of the lightbox since the class”noLightbox” turned it off for some images although I want to disable that on all images (the images don’t open in the lightbox frame so that part seems to be working). In one case the hover is a double ended arrow and opens the image and in another case a curved arrow and takes you to the post. I want to remove that hover from most if not all blog images. What’s the best way to do this? Is it part of the lightbox or separate?
Best,
JonathanAnd this is the code in enfold-child/js/avia.js:
function avia_lightbox_callback(elements,ww,wh){
(function($){
elements.each(function()
{
var el = $(this);
if(!el.hasClass('noLightbox'))
{
el.addClass('lightbox');
}
});jQuery('a.lightbox').on('click', function() { return false; });
})(jQuery);
}Hey Peter –
Thanks so much for this. It would be great to get this to work although I’m getting an error when I activate the Child Theme and the site will not launch with this code in the functions.php file.
Error:
Parse error: syntax error, unexpected ‘}’, expecting T_STRING or T_VARIABLE or ‘$’ in /var/www/vhosts/jonathankannair.com/httpdocs/blog/wp-content/themes/enfold-child/functions.php on line 9This the contents of the functions.php which I think matches your code above:
<?php
/*
* Register frontend javascripts:
*/
if(!is_admin())
{
add_action('wp_enqueue_scripts', 'avia_register_child_frontend_scripts', 100);
}function avia_register_child_frontend_scripts()
{
$child_theme_url = get_stylesheet_directory_uri();wp_dequeue_script('avia-prettyPhoto');
wp_dequeue_style('avia-prettyP');
wp_dequeue_style('avia-custom');//register js
wp_register_script( 'avia-default-child', $child_theme_url.'/js/avia.js', array('jquery'), 1, false );
}
*/- This reply was modified 10 years, 11 months ago by penumbra.
Hi –
Still working on a few issues not resolved or answered by your prior response.
What is the best way to create a blog with one column where there are multiple large photos and text without thumbs or clicking to enlarge the image as well as embedded video (Vimeo)? You said: 6) Please go to Enfold theme options > General Settings and choose “Single Author, Big preview pic” as Blog Style. I already had that selected. Made a new post and the image is still smaller than it’s actual size. I want an image inline with text, at it’s native size and which does not have the option to click on it to enlarge it in another window.Is it possible to not included the author and the date on a post and if so how? You recommended adding this to the Quick CSS
.post-meta-infos { display: none; }
which I did but it does not suppress the post metadata.Not answered: How do you display categories, name and date at the bottom of the blog post and not at the top.
Not answered: What is the best way to add social links and icons to the lower left side of the footer?
Thanks!
Hi –
I have the dummy content loaded. When I go to the dummy content pages (some not all), under the Enfold logo is the message “[LayerSliderWP] Slider not found”. But under installed plugins it does not show a LayerSlider plug in. But in the dashboard menu, where the plugin settings are located there is a panel LayerSlider WP with settings. Do I need to actually purchase and install the LayerSlider WP plugin? I only had one other plugin active, SEO Yoast and I deactivated that and it did not make a different. Thank you.
Hi –
Would you kindly delete the reply I made with the URL in the clear three posts about this. I should of sent the URL masked.
Thanks,
Jonathan
Hi – I resolved the dummy content. The error was on my end. I did not realize the pages were still in the trash. Thank you.
I actually had tried switching themes and still no luck importing the dummy content. Searching your forums I found a similar issue and you had suggested a reinstall or WP which is what I am doing now but am waiting for the local host info from the host which we did not have. I should of save the config file. Thanks.
Hi Devin – I emptied the trash and it would still not reload the dummy content. Now I am reinstalling. Anything else that might be an issue with the dummy content going forward? Thanks.
-
AuthorPosts