Hi,
You can add this on your custom.css or Quick CSS to create an indent on the menus when you have a left sidebar.
#top .widget ul.sub-menu {
padding-right: 20px;
}
Regards,
Ismael
Hi,
First, insert a column element then add the Image, Text Block then the Button. Give the button a unique css selector, for example “new-button”. Add this on your custom.css or Quick CSS.
.new-button {
position: absolute;
top: 80px;
left: 10px;
}
This will move the button on top of the image. You can do the same with the Text block element.
Regards,
Ismael
I have to correct the first post.
The post was never published due to an error on a plugin, now resolved.
I discovered that the problem of the -1 message after the publishing of a post as “author” is because an incompatibility between Enfold theme and the plugin WP Admin UI Customize (http://wordpress.org/plugins/wp-admin-ui-customize/)
If I only change to the main WP theme it’s ok.
If this could help I found that this is the die() method that stops the refresh of the post page after its publishing.
It can be found on wp-includes/pluggable.php
function check_ajax_referer( $action = -1, $query_arg = false, $die = true ) {
if ( $query_arg )
$nonce = $_REQUEST[$query_arg];
else
$nonce = isset($_REQUEST) ? $_REQUEST : $_REQUEST;
$result = wp_verify_nonce( $nonce, $action );
if ( $die && false == $result ) {
if ( defined( ‘DOING_AJAX’ ) && DOING_AJAX )
wp_die( -1 );
else
die( ‘-1’ ); // <— this is the -1 shown
}
do_action(‘check_ajax_referer’, $action, $result);
return $result;
}
I’m using Enfold 1.8.4
Thank you
You can try the code I posted here: https://kriesi.at/support/topic/how-to-prevent-img-title-from-being-displayed-on-rollover-of-slideshow#post-107352 – it works with Firefox, Chrome, Safari. IEs also supports it but it’s a bit buggy (sometimes it works, sometimes not..).
Hi Peter
Nearly there. And thanks to your teams help.
Ive worked out a way / fix to add a horizontal version of the logo as a background image.
However, it seems to repeat in two other places.
Is there a way to remove from behind menu & search panel / on click?
Here’s the live site: http://www.thenaturalpharmacie.co.uk/hidden/
Here’s a screenshot: https://dl.dropboxusercontent.com/u/226695/smallheader-example-tile-error.gif
Thanks in advance. Rich
Below is my custom css
/* Pages */
.page-id-5 .title_container {
display: none;
}
/* Header */
div .logo img {
position: fixed;
padding: 0px;
top: -2px;
}
.header-scrolled div {
background-image: url(http://www.thenaturalpharmacie.co.uk/hidden/wp-content/uploads/2013/08/tnp-smalllogo-header3.gif);
background-repeat: no-repeat;
background-position: left top;
}
.header-scrolled div .logo img {
height: 75px;
}
#header_main {
border-bottom-width: 8px;
border-bottom-style: solid;
border-bottom-color: #060;
-webkit-box-shadow: 0 8px 6px -6px black;
-moz-box-shadow: 0 8px 6px -6px black;
box-shadow: 0 8px 6px -6px black;
}
/* Naviagtion */
/* Mobile */
@media only screen and (max-width: 768px) {
div .logo img {
position: relative;
height: 100px;
}
I’ve also experienced similar problems with layer slider when explicitly setting pixel widths. Text is aligned perfectly using pixel values in the preview window, but this doesn’t appear the same when viewed on the live site. Also, the layer slider interface seems very buggy to me. Frequently when I select a layer and click on a tab it will take me to the top of the wordpress interface page (like an anchor) instead of opening the required option area of the layer.
Hi,
I’m using the WP 3.5.2 (but it’s the same with the WP 3.6) and the last version of the theme Enfold.
When I save or I publish a post I receive a blank page with only “-1”. The problem is exactly the same posted here a year ago
https://kriesi.at/support/topic/custom-post-type-saving-error-1
The post is saved but the redirect doesn’t work. If I goto the url shown in the address bar the post is opened in the edit page and the page is correctly filled.
I noticed that:
1. if I save the post as “admin” it works, saving as “author” it doesn’t
2. if I change to the default WP template and I save the post as “author” I don’t see the error, it’s ok
Thank you
I actually just fixed it using this CSS:
body#top.tribe-filter-live #socket .container { padding: 35px 0 15px; }
I’ll try your CSS to just to see if it also works.
Thank you.
Hi Xavier,
That level of customization would need to be done by a freelance developer in order to maintain the responsive functionality and proper cross browser support.
Getting to that header is just a bit beyond what we can help customize.
Since it has been done already, what you can do however is look at the custom css that that site has already used which should help you in creating something very similar: http://media.pcamobile.de/dynamic_avia/enfold_en.css
With the comments that are already there it is just a matter of copying over and modifying things to how you’d like them.
For #3 Try adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:
#top .main_menu .menu > li >a {
font-family: Times; /*your font */
}
Regards,
Devin
Hi Peter
Sorted MOBILE, added div
@media only screen and (max-width: 768px) {
div .logo img {
position: relative;
height: 100px;
}
}
Peter
Last thing. Work great on desktops.
1) IPAD: Is there a custom css that will work on ipad, landscape
2) MOBILE: Is it there a custom css that will change the logo from “Fixed” so it scrolls up with page on mobile.
Im going to try myself, thought id ask as it may take me a few hours of trial & error.
Thanks again.
Rich
Thanks soo much Peter. Your star.
Works perfectly.
I can go ahead and use this theme now.
Rich
You can remove the wpautop filter from the textblock elements. Open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodestextblock.php and replace
return "<div class='avia_textblock {$custom_class}'>".ShortcodeHelper::avia_apply_autop(ShortcodeHelper::avia_remove_autop($content) )."</div>";
with
return "<div class='avia_textblock {$custom_class}'>".ShortcodeHelper::avia_remove_autop($content,true)."</div>";
and
$params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(wpautop(trim(html_entity_decode( $params['content']) )))."</div>";
with
$params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(trim(html_entity_decode( $params['content']) ))."</div>";
Then wp shouldn’t convert any line breaks to paragraphs, etc. anymore.
could you update on this? how can I replace the static text “home” with actual home page title?
I use the html mode to delete the line breaks. But I have to do this every time I update a text because the line breaks are filled in automatically on opening. If I open the text box three times, there are three line breaks added on several places. It get’s worse with lists, because there are line breaks and ul added between every line.
Isn’t there a way to just stop these auto line breaks? I tried “PS Disable Auto Formatting” plugin, but doesn’t help here (though helpful in other cases).
Hey!
A curly bracket seems to be missing – try
div .logo img {
position: fixed;
}
.header-scrolled div .logo,
.header-scrolled div .logo img {
height: 100px;
}
@media only screen and (max-width: 768px) {
.logo img {
position: relative;
}
}
Regards,
Peter
How do I make the full size image larger in prettyphoto.
option – Choose image size for the Big Preview Image
I used to be able to have the image with a zoom option in the lightbox (prettyphoto) in the top right-hand corner. It is still there if I make the browser window smaller but the max size for the standard image display is a little small for me. Its 1030 px. Can I make it 1210 the full gallery width?
Does that make sense lol ?
Okay, this is a weird one. I’m going to dig a bit and see about a workaround, but here’s what I’ve got so far:
My main page of my site is a page called ‘Home’. It has a special header for the quote you see at the top of the page, and then the blog posts module (using the advanced layout editor). You can see it here: http://www.secondshifters.com
If I try to click any of the pagination links at the bottom, they redirect me right back to the main page and take away everything after the domain in the link. For example, the link for page 2 is http://www.secondshifters.com/page/2 according to a little right click magic, but if I click the page 2 button or manually go to that URL, I get redirected right back to http://www.secondshifters.com without the /page/2 part.
However, if I manually go to http://www.secondshifters.com/home/page/2 it works like it should. Also, if I manually go to http://www.secondshifters.com/?page=2 that works as well. I’ve re-saved my permalink settings and tried switching them around a bit, but nothing makes the problem go away so that http://www.secondshifters.com/page/2 will work properly.
Does it work fpor xou now? What did you change?
I still have the problem.
Please change the topic status to “not resolved”.
Hi Peter
I was so pleased / relived you replied & eager to try your code out.
Sadly, it still just doesnt want to scale.
Below is my custom css code.
Do you think its possible via CSS?
Happy to pay you, if its taking too much time.
As always, really appreciate this excellent support.
Rich
/* Pages */
.page-id-5 .title_container {
display: none;
}
.logo img {
position: fixed;
}
@media only screen and (max-width: 768px) {
.logo img {
position: relative;
}
.header-scrolled div .logo,
.header-scrolled div .logo img {
height: 100px;
}
ok.. if you have a 800×800 picture.. insert as a 2 column gallery.. if you choose any size less than half of the width of the column.. so say 450px x 450px – the captions appear underneath.. if you choose 300px x 300px the captions appear on the right of the thumbnail.
so 1. How to stop this and 2. how to center align the captions under the pic *not left justified..
Thanks again I know how busy you are and appreciate the assistance
Hey!
Please try to remove the width attribute and just change the height
.header-scrolled div .logo,
.header-scrolled div .logo img {
height: 100px;
}
Regards,
Peter
Hey!
You can try following css code mod. It will add a margin (instead of a padding) to the slideout menu and the default logo should be visible at the top. Insert it into the quick css field
#mobile-advanced {
margin: 81px 0 0;
padding: 0;
}
.show_mobile_menu #advanced_menu_toggle{
display: none !important
}
Regards,
Peter
Morning Ismael
Any further thoughts on how to get the logo to resize?
Im soo close.
Really hope you can help.
After this i think i can do all the rest myself.
Rich
Unfortunately this is not easily possible with the fixed header (sticks at the top and re-sizes/scales when the user scrolls down). You can try to use the standard header (which is not fixed) or you can re-size the logo to 250px width and use the fixed header. The necessary css code would be
.logo img {
width: 250px;
}
Hi!
Yes it should work. You can also try a social bookmarks plugin ( https://kriesi.at/support/topic/looking-for-recommendation-on-swyn-plugin )
Regards,
Peter
Hi danielsami,
Do you mean when the menu switches to the responsive menu?
I believe that is the intended behavior for mobile in that the mobile menu only shows the top+1 down to prevent overly complex menus.
Regards,
Devin
Hi,
This code will remove the captions that appear on the sides
#top .visible-caption {
display: none;
}
You also need to create some rules about types of images that get uploaded. For example , never upload images that are less than 300px wide. So even if they are portraits, they need to be at least 300px wide and if bigger, they should get resized lower by the theme. You can change the setting using http://wordpress.org/plugins/simple-image-sizes/ this plugin in Settings > Media. Set width at 300px , no crop and set height at 9999. And as long as you upload image 300px and wider, you will be ok.
Thanks,
Nick