Viewing 30 results - 15,901 through 15,930 (of 16,891 total)
  • Author
    Search Results
  • #248846

    Hi Martin, I am not sure you have encountered the same problem I had recently with a very large menu. It is because of changes introduced with PHP 5.3.9 and above. When trying to add more menu items above 76 (or editing an existing large menu), some items were “deleted”.

    This link may help, and might help others when trying to create mega menus.
    http://sevenspark.com/wordpress/menu-item-limit
    Heath

    #248783
    talelie
    Participant

    I have installed the Enfold updated theme and cannot edit my site because of the following error:

    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 30720 bytes) in /home/ci7bodu0/public_html/wp-admin/includes/deprecated.php on line 1171

    Can you please suggest what shell i do?
    Need urgent reply
    Thanks
    Tal

    • This topic was modified 12 years ago by talelie.
    #248778
    This reply has been marked as private.
    #248736
    SlickBear
    Participant

    I have added the code to function.php and the new fields are there however when I apply in the CSS it does not work.

    Here are some examples of what I am trying with developer id = “asset-index-toggler”

    Example 1:
    #top #asset-index-toggler .js_active .toggler {
    -moz-user-select: none;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    display: block;
    font-size: 20px !important;
    margin: 0;
    padding: 8px 7px 10px 50px;
    position: relative;
    top: 1px;
    }

    Example 2:
    #asset-index-toggler .js_active .toggler {
    -moz-user-select: none;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    display: block;
    font-size: 20px !important;
    margin: 0;
    padding: 8px 7px 10px 50px;
    position: relative;
    top: 1px;
    }

    Example3:
    .asset-index-toggler .js_active .toggler {
    -moz-user-select: none;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    display: block;
    font-size: 20px !important;
    margin: 0;
    padding: 8px 7px 10px 50px;
    position: relative;
    top: 1px;
    }

    If I leave out “asset-index-toggler” then it applies the styling to all togglers which I dont want.
    I have cleared cache and all those good things and still nothing.

    Please advise, thanks.

    #248726

    still me.
    I’ve found 2 errors in the console on the layer admin, for this slider only

    Uncaught ReferenceError: newMediaUploader is not defined admin.js?ver=5.1.1:893
    LayerSlider.openMediaLibrary admin.js?ver=5.1.1:893
    (anonymous function) admin.js?ver=5.1.1:2653
    c load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,plupload-html5,plupload-f…:3
    p.fireWith load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,plupload-html5,plupload-f…:3
    x.extend.ready load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,plupload-html5,plupload-f…:3
    q load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,plupload-html5,plupload-f…:3

    Uncaught TypeError: Object [object Object] has no method ‘draggable’ admin.js?ver=5.1.1:1106
    LayerSlider.addDraggable admin.js?ver=5.1.1:1106
    LayerSlider.generatePreview admin.js?ver=5.1.1:887
    (anonymous function) admin.js?ver=5.1.1:2649
    x.event.dispatch load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,plupload-html5,plupload-f…:4
    v.handle load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,plupload-html5,plupload-f…:4

    #248703
    This reply has been marked as private.
    #248671
    This reply has been marked as private.
    #248650

    Hi!

    I found a way to have both, add this to the functions.php:

    add_filter( 'wpcf7_form_elements', 'mycustom_wpcf7_form_elements' );
    
    function mycustom_wpcf7_form_elements( $form ) {
    	$form = do_shortcode( $form );
    
    	return $form;
    }

    Then you can use the Enfold layout shortcodes in your CF7 form:

    Regards,
    Josue

    #248476

    Topic: Portfolio image height

    in forum Enfold
    lzevon
    Participant

    I need to show 400x400px images in the portfolio detail page, e.g.
    http://newsite.riballet.org/portfolio-item/cindy-guo/

    I tried adding/modifying the following in my functions.php…
    $avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>710, ‘height’=>400);

    It’s important these images be 400px high because we’ll be adding shots of the dancers in performances and need to show their full body (feet to fingertips), but right now it’s chopping the image down.

    I also tried changing the CSS (.attachment-entry_with_sidebar wp-post-image) to no avail and also changed the value in Media for medium size to be 400×400.

    I read through a bunch of forum threads and still looking for the answer, please help!

    #248376
    This reply has been marked as private.
    #248254

    Hi!

    You can simply add the code Peter provided to functions.php file below following line

    global $avia_config;

    as following

    add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Arimo'] = 'Arimo:400,700,400italic,700italic&subset=latin,latin-ext';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font', 'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    
    $fonts['Arimo'] = 'Arimo:400,700,400italic,700italic&subset=latin,latin-ext';
    return $fonts;
    }

    Best regards,
    Yigit

    #247674
    alexbog
    Participant

    Hi,
    I have followed the instructions on installing the theme and the WPML plug in, so far tediously creating the structure of pages in English and their translations in Croatian, Bosnian and Serbian. When the default language is English the theme seems to be working fine with the plug in except when I click on the flag of another language and then I click on the logo to get the 404 page. However, another, to me, so far insurmountable problem, happens when I switch to Croatian or Serbian or Bosnian as the default language. In that case, the homepage always opens as the “Error 404 – page not found”. When I change it back to English the home pages in Serbian, Croatian or Bosnian do open when I click on the flag. I searched all over the forums and, among other things, found http://wpml.org/forums/topic/default-language-and-search-page-fails/ but this did not help me. All my work so far is useless if there is no fix to this problem. Namely, on this site the default language must be a language other than English (Croatian, Serbian or Bosnian). I also could not fix the issue of finding a way to having the drop-down menu instead of the default flags. With a patch you gave I can get rid of the flags but the drop down menu shows but will not work.
    I hope you understand my frustration with both the theme and the plug in not least because of the time that I do not have.
    Thank you for your help and understanding,
    Alex

    PS
    log in to http://www.kfbl.edu.ba/wp/wp-login.php, user name: admin, password: banjaluka and see it for yourself.

    Hi!

    You can overwrite the entire widget (class) with your child theme. Just copy the code from wp-content/themes/enfold/framework/php/class-framework-widgets.php into your child theme and modify the code there. If you want to register a new widget for a cpt/taxonomy use the code I posted here: https://kriesi.at/support/topic/latest-news-widget-show-custom-post-type/#post-239987 – note that you MUST place it in the child theme functions.php or it will not work.

    Best regards,
    Peter

    #247145

    Hey!

    Thank you for using the support forum!

    You can change the social icon character code on functions.php. Look for the facebook char codes for example on line 172:

    'facebook' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f3'),
    

    You can find the character codes by hovering over the icons:

    We’ll use the char code on the example above but we’ll remove the backslash.

    'facebook' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f4'),</code>
    

    I hope that helps.

    Best regards,
    Ismael

    #247104

    In reply to: Formatting Issue

    Hey leighgoodman7!

    Thank you for using the support forum.

    I’m sorry but at this moment, I’m not entirely certain of the issue based on the information you have given in your post. If you wouldn’t mind providing us a link to the website and a little more clarification about the issue (a screenshot perhaps), we’ll be happy to provide you with a response once we have a better understanding of the problem.

    If I am not mistaken, this has something to do with the builder timing out due to wp reaching its memory limit. You might want to increase it to at least 128M. The first thing you can do to fix this is to add the following lines in your wp-config.php file located at the root of your installation:

    define( 'WP_MEMORY_LIMIT', '128M' );
    define( 'WP_MAX_MEMORY_LIMIT', '256M' );

    You can also contact your host if you’re not comfortable doing the adjustments yourself. Refer to this link for more info: http://dailyblogging.org/wordpress/increase-wordpress-memory-limit/

    Regards,
    Ismael

    #246981

    Thanks very much for your help Yigit. I added the code to functions-php and got a fatal error
    “Fatal error: Cannot redeclare builder_set_debug() (previously declared in bowlandwalks.co.uk/httpdocs/wp-content/themes/enfold/functions.php:476) in /var/www/vhosts/bowlandwalks.co.uk/httpdocs/wp-content/themes/enfold/functions-enfold.php on line 994”

    I had to re-upload the theme to get my website working again. Sorry, I am a bit of a novice. I might have done it in two folders because the first one didn’t seem to work.

    Hey katriley742!

    Please try to increase the allocated memory to 128M http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/

    Best regards,
    Yigit

    #246555
    This reply has been marked as private.
    #246452

    Hey!

    Sorry if you’re having difficulty with the images.

    This plugin will help you resize the images manually: http://wordpress.org/plugins/simple-image-sizes/

    If you want to resize the image thumbnails, you can edit functions.php then find these codes:

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);						// small preview pics eg sidebar news
    $avia_config['imgSize']['square'] 		 	    = array('width'=>180, 'height'=>180);		                 // small image for blogs
    $avia_config['imgSize']['featured'] 		 	= array('width'=>1500, 'height'=>430 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['featured_large'] 		= array('width'=>1500, 'height'=>630 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['extra_large'] 		 	= array('width'=>1500, 'height'=>1500 , 'crop' => false);	// images for fullscrren slider
    $avia_config['imgSize']['portfolio'] 		 	= array('width'=>495, 'height'=>400 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>185 );						// images for portfolio 4 columns
    $avia_config['imgSize']['gallery'] 		 		= array('width'=>710, 'height'=>575 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['magazine'] 		 	= array('width'=>710, 'height'=>375 );						// images for magazines
    $avia_config['imgSize']['masonry'] 		 		= array('width'=>705, 'height'=>705 , 'crop' => false);		// images for fullscreen masonry
    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>710, 'height'=>270);		                 // big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360 );						// images for fullsize pages and fullsize slider

    These are the list of thumbnail sizes that are use within the theme. You can resize them according to your needs. Regenerate the thumbnails after using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/

    Regards,
    Ismael

    #246434

    Hey!

    I added the code to the child theme functions.php file and the order works now http://www.apsleystudiotour.com/portfolio-item/studio-tour-artists/ . The entries start with “Studio A” and the last item is “Studio S”.

    Note that you can’t get a “perfect” entry order with “flexible masonry” grid because the masonry script always tries to “distribute” the entries equally and to fill the space without producing gaps. Sometimes it will ignore the order and shift entries to avoid gaps. You can use the “perfect grid” option if you want to keep the post order but then the images must have the same size and the grid will look like: http://www.clipular.com/c/6317022505861120.png?k=Ihr9oU-Ktc6guA2qycvRy743pkw

    Regards,
    Peter

    #245990

    In reply to: Couple questions

    Hi Senso!

    1- Please see Ismael’s post here to add new Google fonts and font weights – https://kriesi.at/support/topic/add-new-font/#post-234710
    2- You can post the link to your website and point out the categories you would like to remove from sidebar widget and we can provide you custom CSS code to do so
    3- Can you elaborate please? Screenshot would help. This is how it looks on my local installation http://i.imgur.com/rW7jCuT.jpg
    3a- Using custom CSS we can hide the title of second column. Please post the link to your website and point out the title you would like to remove
    4- Please see – http://kriesi.at/documentation/enfold/change-the-default-font-size/
    If you would like to change the font size of other elements, let us know and we can provide you custom CSS code
    5- Please see Ismael’s post here – https://kriesi.at/support/topic/the-blog-grid-is-not-being-displayed-correctly-in-version-2-4-5/#post-210799
    you can replace your title with “Blog Grid”
    6- Please add following code to Quick CSS in Enfold theme options under Styling tab

    .title_container .main-title { display: none !important; }

    7- You can go to Enfold theme options > Header > Mobile Menu and check "Hide Mobile Menu Submenu Items" to show submenu items on click
    8- You can edit helper-post-format.php file inside wp-content\themes\enfold\includes folder
    9- bbPress plugin is fully compatible with Enfold - https://wordpress.org/plugins/bbpress/
    10- Please try using this one - http://wordpress.org/plugins/socialize/

    Cheers!
    Yigit

    #245768

    In reply to: Adaption Header

    Hi,
    your support for the theme is excellent. I have never seen a better organized support team.
    I made a screenshot for better understanding and for easier explaining.

    https://dl.dropboxusercontent.com/u/17609530/header.png

    I thaught I solve the problem with using fixed header with social media buttons. Instead of the social media button I insert
    the button, the telephonenumber and and the small truck. The logo must lie over the social media bar. the background of
    the social media bar has to be transparent, to see the background of the whole header.
    I’am very happy for some hints, how I can change it in a simple way.

    I’ll study the code to understand it better and to be able to change the code in the right way. I think the change have to be in the header.php. I copied it to the enfold child theme.

    Best regards,
    Daniela

    #245730

    That doesn’t really help me, Ismael.

    All I need is to be able to use the Edit Image / Image Resize Tool that comes with WordPress, without it messing the rest of the theme.

    I need it to work properly, because my client needs it to be as user friendly as possible, and having functions that do not really work make us all look bad.

    For example, look at this biography page:

    http://www.daliastellagonzalez.com/biografia/

    The image at the bottom is the original sized image, which right now it’s been “resized” down to a 60%, but this code is ignored by the way Enfold is set up.

    The image at the top is a smaller version I had to resize in Photoshop in order to make it look the way I wanted. And yes, it has a lightbox, that of course, shows the small version of the photo as well.

    The purpose of the resize working along with the lightbox is to have a smaller, reduced photo into your article page, that you can reduce as you please and place wherever you want to, and when someone clicks in it, it opens a larger version.

    I included the code you gave me on line 17 of Functions.php, but that doesn’t solve my problem.

    I need the original picture to be resized while in WordPress to a smaller size, so when anyone clicks in it, it shows a larger version.

    #245555

    Hi!

    Thank you for correcting me. I’m sorry about that, I must have been tired when I posted that.

    Anyway, you can apply a certain background overlay on a color section but first make sure that you added the theme support for custom css class. Edit functions.php, add this code right after line 16:

    add_theme_support('avia_template_builder_custom_css');
    

    This will give you the option to add a custom css class on any avia elements within the builder. So let’s get started, add a color section with the background image that you want then insert a text block inside the section. The overlay image will be added on the text block. Switch to the text/html editor mode then add this:

    <img alt="" src="http://fc09.deviantart.net/fs71/f/2011/074/3/7/dotted_overlay_texture_by_nobren-d3bqt3w.png" />
    

    Scroll a bit below to add a custom css class, we’re going to use section-overlay-background for example. After that save the options then publish the page. Add this on Quick CSS or custom.css to adjust the image overlay to full width and height covering the entire color section background:

    .section-overlay-background {
      position: fixed; 
      top: -50%; 
      left: -50%; 
      width: 200%; 
      height: 200%;
      z-index: 0;
    }
    
    .section-overlay-background img {
      position: absolute; 
      top: 0; 
      left: 0; 
      right: 0; 
      bottom: 0; 
      margin: auto; 
      min-width: 50%;
      min-height: 50%;
    }

    Reference link is here, look for technique number 2: http://css-tricks.com/perfect-full-page-background-image/

    Cheers!
    Ismael

    #245331

    In reply to: Google Font

    This reply has been marked as private.
    #245042

    Hey!

    Please use the code I posted here: https://kriesi.at/support/topic/wpml-language-switcher-flags/#post-241574 and place it at the very bottom of the enfold/funcions.php file or into your child theme functions.php file.

    Regards,
    Peter

    #245041

    In reply to: entry with sidebar

    Hey Devin

    Thanks very much for coming back to me. I shall attempt to explain my problem more accurately.

    You are correct that the image showing on that page is 710 x 360.
    However it should be 710 x 398.

    I have edited the functions.php file so that the entry with sidebar image is 710 x 398 ( I do not wish to edit the size of entry without sidebar as this would impact the size of images in the slider which I have used on the homepage).

    See here: http://new.mclean-williams.com/functions.png

    I regenerated images etc so to my understanding, on the page in question the image showing should be 710 x 398.

    If you look at this screenshot of the page in question: http://new.mclean-williams.com/sidebar.png

    You can see that the page does have a sidebar and yet the class of the image being pulled in is attachment-entry_without_sidebar.

    I want this to be attachment-entry_with_sidebar. As the page clearly does have a sidebar, what do I need to do so that the attachment has the class attachement-entry_with_sidebar?

    I attempted forcing this page to give the image class attachment-entry_with_sidebar by modifying the includes/loop-index.php file and this did work however it messed up my newsletters page where at the moment I am choosing to show the top image full size as it made that show at 710×398 too which I don’t want.

    Hope that all makes sense and you understand my problem.

    Thanks

    Joel

    #244711

    Hey!

    1.) Please watch this video to learn more about how to set up a child theme: http://vimeo.com/channels/aviathemes/67221517

    2.) After you added the theme support for custom css class on functions.php, you’ll see a new field option on every elements within the Advance Layout Builder. If you edit a Text Block, you can scroll below then look for “Custom Css Class”. This is true for every elements within the builder except for the column layouts.

    Refer to Dude’s example above. :)

    Cheers!
    Ismael

    #244676

    Hello Dan!

    It is possible but that’s beyond the scope of the support we can offer. If you need help it would be better to hire a freelancer for the job or if you prefer request a quote here.

    Cheers!
    Josue

    #244558
    This reply has been marked as private.
Viewing 30 results - 15,901 through 15,930 (of 16,891 total)