Tagged: blog posts
-
AuthorPosts
-
August 26, 2014 at 4:25 pm #309396
Hi,
How could I please preserve the blog slider layout in my Blog landing page by removing all the small comments that appear around it (meaning: the title “Blog posts”, the headline “The 20 latest blog posts”, and the 3 categories below – Pages Categories and Monthly)?
This is the page:
http://enter-law.com/publications/I have also selected in the blog slider settings to display the Title, excerpts and read more link for each post but for some reason it only displays the link to the full post, I think there may be a bug somewhere.
Thank you for your help!
Cheers,Cerasela
PS Is there a way to use the avia layout builder for posts? My publications don’t look as good as the other pages with just the wordpress default editor! :)
August 28, 2014 at 12:09 am #310124Hey!
The problem is that you are selecting the “Archives” template, try deselecting that and building that page with the ALB.
To enable ALB on Posts, add this to your theme / child theme functions.php:
add_filter('avf_builder_boxes','enable_boxes_on_posts'); function enable_boxes_on_posts($boxes) { $boxes[] = array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array('portfolio', page', 'post'), 'context'=>'normal', 'expandable'=>true ); $boxes[] = array( 'title' =>__('Layout','avia_framework' ), 'id'=>'layout', 'page'=>array('portfolio', page', 'post'), 'context'=>'side', 'priority'=>'low'); $boxes[] = array( 'title' =>__('Additional Portfolio Settings','avia_framework' ), 'id'=>'preview', 'page'=>array('portfolio', page', 'post'), 'context'=>'normal', 'priority'=>'high' ); return $boxes; }
Regards,
JosueAugust 28, 2014 at 12:56 am #310142Hi Josue,
Thank you, I have switched to Default, much better!
For the posts I’ve added the code at the end of the Theme Functions (functions.php) file but it blocked. Should I try to add it somewhere else?Best,
CeraselaAugust 28, 2014 at 12:59 am #310144Hey Cesarela!
Revert that and try the following instead:
Open /config-templatebuilder/avia-template-builder/config/meta.php and look for line 5:array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array('portfolio','page'), 'context'=>'normal', 'priority'=>'high', 'expandable'=>true ),
Replace it by:
array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array('portfolio','page','post'), 'context'=>'normal', 'priority'=>'high', 'expandable'=>true ),
Best regards,
JosueAugust 28, 2014 at 1:37 am #310152Perfect, thank you Josue! :)
Best,
CeraselaAugust 28, 2014 at 1:44 am #310155You are welcome :)
Regards,
JosueAugust 28, 2014 at 2:19 am #310162Hey again,
Just a small problem with the accordions in the post (they work fine on the pages…): I inserted a few with just one toggle and (i) they don’t unfold (and at a certain point they even disappeared from the post page); and (ii) they are placed at a very large distance from the text paragraph above them (I would like them to be placed nearer).
Here is the post:
http://enter-law.com/employers/
I really appreciate your help, thank you!
Best,Cerasela
August 28, 2014 at 3:44 am #310171Hi,
Can you please create me an administrator account? post it here as a private reply.
Regards,
JosueAugust 28, 2014 at 11:04 am #310340This reply has been marked as private.August 31, 2014 at 11:37 pm #311608Hey Josue,
Would you still agree to look into these small post issues (accordion unfolding and position in posts only, and possibility to enhance the accordion title and change the color or icon to make it more visible – in pages and posts)?
I still can’t manage to figure them out, thank you very much in advance for your help!Best,
Cerasela
September 2, 2014 at 6:58 am #312048Hey Cerasela!
Can you post a screenshot/mockup of what would you want to achieve with the accordeons?
Best regards,
JosueSeptember 2, 2014 at 11:29 am #312194Hey Josue,
Thanks for your reply, I would like to have something like this:
http://russianlengths.co.uk/faq-two
or this
http://mysitemyway.com/support/topic/replacing-plusminus-images-in-accordiontoggles-with-icons (i.e. the example in the screenshot, but using more design icons, like the ones Enfold has already)
So from a strictly operational standpoint the “must” would be to have a Bold toggle title and have the existing plus icon replaced with right-down arrows (characters \ue885 and \ue883 in Enfold-icons), or with more visible black and white plus-minus icons.
Does this make sense?
Thanks again for your help.
Best,Cerasela
September 3, 2014 at 7:56 am #312688Hey!
I’m not sure if this is going to work but please try to add this on Quick CSS or custom.css:
.toggle_icon .vert_icon:before { content: ''; font-family: 'entypo-fontello'; font-size: 20px; } .activeTitle .toggle_icon .vert_icon:before { content: ''; font-family: 'entypo-fontello'; font-size: 20px; } .toggle_icon .hor_icon, .toggle_icon .vert_icon { border: none !important; } .toggle_icon .vert_icon { left: 2px; top: -3px; border: none !important; } span.toggle_icon { border: none; }
Cheers!
IsmaelSeptember 3, 2014 at 9:11 am #312714Hey Ismael,
Thank you, we are getting closer! It did not work in custom.css but it worked in quick css and I have now the arrows. Could you also send me something to make the titles Bold?
http://enter-law.com/expertise/services/
Also, when I added the code to custom.css this code [/av_four_fifth] started to appear on the blog page (and it also appears at the beginning and/or end of the posts) – http://enter-law.com/publications/ – and – http://enter-law.com/employers/?lang=fr
Do you know what this is and how I can remove it?Finally, the code that you sent did not change anything to the accordion in the posts which still refuses to unfold/open and is placed at a too large distance from the paragraph preceding it – you can see an example here, please scroll down to section 2.1 – Advertising – for a first example. http://enter-law.com/employers/
Thank you very much for your support, I hope you will be able to help.
Best,
Cerasela
September 4, 2014 at 10:23 pm #313615Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueSeptember 5, 2014 at 12:36 am #313693This reply has been marked as private.September 5, 2014 at 12:50 am #313698September 5, 2014 at 1:13 am #313703This reply has been marked as private.September 5, 2014 at 2:18 am #313717Hi!
The column code is appearing there because you have the qTranslate code inside it – http://screencast.com/t/oZTHWTRs
Regarding making the togglers bold, you can use this code:
.toggler { font-weight: bold !important; font-family: sans-serif; }
Cheers!
JosueSeptember 5, 2014 at 11:03 am #313920Hey Josue,
Thank you for your advice and the code, we’re almost there. Only remains the question of opening the togglers and lifting them a little!
http://www.screencast.com/t/qhjtvpy0gL
Cheers!
Cerasela
September 8, 2014 at 8:32 am #314904Bump?
September 11, 2014 at 9:24 am #317218Hi there,
Could someone please look into this toggler issue?
Thank you.
Best,Cerasela
September 12, 2014 at 8:52 pm #318319Hi Cerasela!
Apologies for my late reply, the problem is that bottom of the markup isn’t loading on single Posts, this could be happening because of a memory issue or a PHP error, do you have access to your PHP error log?
Also, i made a test post here with the same content of the “employers” posts, and the accordions do work:
http://enter-law.com/test/#toggle-id-4Cheers!
Josue- This reply was modified 10 years, 2 months ago by Josue.
September 13, 2014 at 12:49 am #318363Hey Josue,
This is very weird indeed as I see in debug mode that the test that you have created has exactly the same code as my initial post yet it works… I don’t know how to check the PHP error log, do I have to look into phpMyadmin or there is an easier way?
If this becomes too complex I am thinking about using your post and deleting the old one, and hoping that future posts will work better. Could you please send me a bit of padding code to lift the accordion in your post? (it is too low right now and eats into the following paragraph).
Thank you for your help and hopefully I won’t need to bug you again!
Best,
Cerasela
September 13, 2014 at 1:12 am #318368Hey!
Try adding this code to Quick CSS:
.entry-content-wrapper .togglecontainer { overflow: hidden; }
Best regards,
JosueSeptember 15, 2014 at 1:57 pm #319180Hi Josue,
After using the test you have created I have finally realised what went wrong with the togglers: they are incompatible with the “Sidebar Blog” (they unfold however when the post is set to “Default sidebar” and even “Enfold custom sidebar”).
This is upsetting because only the “sidebar blog” had the “recent posts” list in it and no language switcher widget.
The other sidebars display, I don’t know why, the language switcher: http://www.screencast.com/t/Su5MQSHoUN
I have tried to remove it from the widget settings “displayed everywhere” and replace it with the post list, but as a result the switcher also disappeared from the small bar above the main menu, and I need it there…So, is there a way to either (i) override the “Displayed everywhere” rule so that the language switcher does not systematically show in sidebars anymore, or (ii) have togglers unfold even when the post is set to “Sidebar blog”?
Thank you very much for your input.
Best regards,
CeraselSeptember 19, 2014 at 6:37 am #321672Hi Cerasel!
How about creating a custom widget area to store the qTranslate language switcher only?
Best regards,
JosueSeptember 19, 2014 at 10:24 am #321786Hey,
You mean and put this area in the upper bar only? If this is the case I am really interested.
Right now I am using the solution that you have provided in this thread: https://kriesi.at/support/topic/insert-search-button-and-widget-area-in-the-secondary-menu-bar/#post-304697 (please see the messages starting with the one sent on August 12, 2014 at 12:58 am)
If you could provide a replacement solution to achieve this that would be great…
Best regards,
Cerasel
September 19, 2014 at 5:21 pm #321997Hey!
Yes, i noted that you are using that approach and it’s OK but the problem with the toggles not being responsive was because the switcher is appearing in the “Display Everywhere” widget section right? if that’s the case you could create a custom widget area to store the switcher; you won’t set this new sidebar to any page but use it as a widget shortcode in the header.
Regards,
JosueSeptember 19, 2014 at 6:55 pm #322068This reply has been marked as private. -
AuthorPosts
- You must be logged in to reply to this topic.