Viewing 30 results - 10,651 through 10,680 (of 11,218 total)
  • Author
    Search Results
  • The code that i’m adding is as follows, and is used to control the display of some elements from the “The Events Calendar PRO” and “Wootickets” plugin from Modern Tribe. I have followed the Enfold child theme video tutorial (yours Devin), as well as the tutorials and documentation from the Modern Tribe website with no success in getting this code to work in my child theme functions.php file.

    Latest Enfold installed, no plugins activated. As stated earlier, the added php code works fine with no problems in the parent theme fuctions.php file.

    /*
    * Move the Wootickets form to Below the Event Description
    */
    remove_action(‘tribe_events_single_event_after_the_meta’, array(TribeWooTickets::get_instance(), ‘front_end_tickets_form’));
    add_action(‘tribe_events_single_event_after_the_content’, array(TribeWooTickets::get_instance(), ‘front_end_tickets_form’));

    /*
    * Filter Modern Tribe’s The Events Calendar / Events Calendar PRO plugins to show ticket prices from the WooCommerce Tickets add-on
    */
    function my_wootickets_tribe_get_cost( $cost, $postId, $withCurrencySymbol ) {
    if ( empty($cost) && class_exists(‘TribeWooTickets’) ) {
    // see if the event has tickets associated with it
    $wootickets = TribeWooTickets::get_instance();
    $ticket_ids = $wootickets->get_Tickets_ids( $postId );
    if ( empty($ticket_ids) ) {
    return ”;
    }

    // see if any tickets remain, and what price range they have
    $max_price = 0;
    $min_price = 0;
    $sold_out = TRUE;
    foreach ( $ticket_ids as $ticket_id ) {
    $ticket = $wootickets->get_ticket($postId, $ticket_id);
    if ( $ticket->stock ) {
    $sold_out = FALSE;
    $price = $ticket->price;
    if ( $price > $max_price ) {
    $max_price = $price;
    }
    if ( empty($min_price) || $price < $min_price ) {
    $min_price = $price;
    }
    }
    }
    if ( $sold_out ) { // all of the tickets are sold out
    return __(‘Sold Out’);
    }
    if ( empty($max_price) ) { // none of the tickets costs anything
    return __(‘Free’);
    }

    // make a string showing the price (or range, if applicable)
    $currency = tribe_get_option( ‘defaultCurrencySymbol’, ‘$’ );
    if ( empty($min_price) || $min_price == $max_price ) {
    return $currency . $max_price;
    }
    return $currency . $min_price . ‘ – ‘ . $currency . $max_price;
    }
    return $cost; // return the default, if nothing above returned
    }
    add_filter( ‘tribe_get_cost’, ‘my_wootickets_tribe_get_cost’, 10, 3 );

    /*
    * Remove the iCal Import button except from Single-Event view
    */
    add_action(‘tribe_events_before_template’, ‘remove_ical_from_list_view’);

    function remove_ical_from_list_view() {
    if (tribe_is_event_query() && tribe_is_list_view())
    remove_filter(‘tribe_events_after_footer’, array(‘TribeiCal’, ‘maybe_add_link’), 10, 1);
    }

    add_action(‘tribe_events_before_template’, ‘remove_ical_from_month_view’);

    function remove_ical_from_month_view() {
    if (tribe_is_event_query() && tribe_is_month())
    remove_filter(‘tribe_events_after_footer’, array(‘TribeiCal’, ‘maybe_add_link’), 10, 1);
    }

    add_action(‘tribe_events_before_view’, ‘remove_ical_from_org_venue_views’);

    function remove_ical_from_org_venue_views() {
    if ( tribe_is_event_query() && (tribe_is_organizer() || tribe_is_venue()) )
    remove_filter(‘tribe_events_after_footer’, array(‘TribeiCal’, ‘maybe_add_link’), 10, 1);
    }

    #190414

    Hey!

    Please go to wp-content\themes\enfold\js folder and open Avia.js file and find

    bottom_menu 	  = $('html').is('.bottom_nav_header'),
    	    	switchWidth 	  = 767;

    and change it to

    bottom_menu 	  = $('html').is('.bottom_nav_header'),
    	    	switchWidth 	  = 800;

    It will increase the width to switch to mobile menu from 767px to 800px. Please flush browser cache and settings if you are using cache plugin after making changes and refresh your page a few times.

    Cheers!
    Yigit

    #190183

    Hi!

    Please create a temporary admin login and post it here privately. Make sure to check “Set as private reply (Only you and moderators will see the content of this post)” above Submit button.

    Cheers!
    Yigit

    EDIT: Please firstly try adding Ismael’s code to Custom.css file inside Enfold/css folder firstly and flush browser cache once again and check if code is being applied

    • This reply was modified 12 years, 5 months ago by Yigit.
    #189961

    In reply to: Button Sizes in Enfold

    You are awesome! Thank you so much! :)

    #189908

    In reply to: Button Sizes in Enfold

    Hey DoGrinDigital!

    Please add following code to Quick CSS in Enfold theme options under Styling tab and adjust as desired

    .avia-button.avia-size-small { min-width: 120px; }

    Cheers!
    Yigit

    #189905

    Topic: Button Sizes in Enfold

    in forum Enfold
    DoGrinDigital
    Participant

    Hi there!

    Please see http://www.trainingforamarathon.com/store/canada-store/

    I know the colors are a little weird, but that’s not the main issue right now, although suggestions are always appreciated! My question is:

    How can I get the buttons to all be the same size? I don’t want them to be a bunch of different sizes based on how many characters I write. Is there a way to do this? I tried increasing size of button from small to large, but no luck. I have also tried just typing “spaces” to 14 characters, but no luck either.

    Please let me know! Thanks!!

    Ben

    #189566

    Hi mar10nlund!

    1) Use following css code

    
    .responsive #top .mobileMenu {
    background-color: #e2e2e2;
    }
    

    2) It’s an image (png) and you can’t change the color without replacing the image. If you want to use a custom image insert following css code into the quick css field

    
    .responsive #top .mobileMenu {
    background-image: url("htttp://mywebsite.com/image.png");
    }
    

    and instead of htttp://mywebsite.com/image.png insert the url to your image.

    3) Use following code to change the color/size

    
    .responsive #top .mobileMenu {
    color: #fff;
    font-size: 10px;
    }
    

    4) You can use Codestyling http://wordpress.org/plugins/codestyling-localization/ to translate the theme. Install the plugin, go to Tools > Localization and select “Themes”. Then search for “Enfold” in the list and click on “Add new language”. Then select your language from the list and click the “create po-file” button. Click on “Rescan” to fetch all text strings. Then click on “Edit” and translate the required strings from the “avia_framework” textdomain. At least click the “create mo file” button next to the “Textdomain” selection dropdown (top left corner).

    Best regards,
    Peter

    #189505

    Hi Pedroluiscarretero!

    Can you please post a link to the website? I have the latest Enfold and the go to top button arrow shows properly.

    Cheers!
    Ismael

    #189435
    This reply has been marked as private.
    #189218

    Hi Monsoon!

    Please add following code to Quick CSS in Enfold theme options under Styling tab to change color of Back to top button

    #scroll-top-link { 
    color: white;
    border: 1px solid #e1e1e1;
    background-color: red; }
    

    If you would like to remove it, please use

    #scroll-top-link {display: none; }

    Best regards,
    Yigit

    #189166

    Hi Kriesi,

    My request would be better handling of the pricing grid module. More specifically the ability to drag & drop lines into place (or maybe even just a button to shift them up / down.

    At the moment if you want to add a line INBETWEEN existing lines, you need to delete all the content up to that point and start from scratch, which makes things rather user-unfriendly.

    For reference, here a link to a support thread I opened: https://kriesi.at/support/topic/table-builder-row-column-order/#post-188570

    Hope to hear from you soon,

    #189160
    fjrichart
    Participant

    IN THE MOBILE USING THE “HEADER WITH SOCIAL ICONS AND BOTTOM NAVIGATION” :
    When you select a page from the menu, it loads that page (correct) but then from that page you want to select another page clicking on the box to unfold the dropdown menu and the box doesn’t unfold.
    You finally have to click on the logo or press the physical “go back” button of the mobile to go to the home page and then it works again

    If you use the “SMALL FIX HEADER” it works OK but I need the other header.
    I’ve checked that also with the original Enfold I downloaded when I bought the theme and it happens the same.
    Anyway my URL: cristinarichart.com

    #189106
    Monsoon
    Participant

    Can you let me know the code necessary to remove the square scroll top button from showing?
    Thanks in advance

    EDIT: As a sidenote it seems the button’s color is defined by the Socket background color so if you want to have a white socket then your button becomes transparent. How could you make lets say green scroll up button and a white socket footer as one might want that scroll up button to be a particular color.

    #189100
    rasskell
    Participant

    SITE: http://www.ikort.is

    I was wondering if I’m the only one running into this and if so what could be causing this.

    I just updated my Enfold theme and after I did so I ran into multiple minor errors.

    – Fonts for various logos won’t work on sub pages (example the search icon, had another in a button that I removed since it just showed a square)

    – no padding level of sub pages, text suddenly goes all the way to the edge of sides with a sidebar (I fixed it automatically someplaces by putting a “padding-right” value.

    – contact form gets messed up if I use captcha (the question is lost behind the send button)

    I’m sure I’m bound to find more.

    As much as I have loved this theme I have to say it really has been pushing my patience! There are some awesome features.. but it is highly unstable. An example is I almost don’t want to touch anything on the front page, because every time I save in the “advanced layout” things just seem to get randomly messed up. (same goes for other pages if I dare to do any custom HTML in them.

    #188590

    In reply to: Some css fixes

    Thank you!!!!

    More quetsnions:
    1) SabaiDiscuss plugin (ask.zelenopol.net):
    a) Category selector (near search button). Problem with text view.
    https://www.dropbox.com/s/w0k3d2fe7o6eolt/cat.png
    b) Widget authors avatars. Not the correct vertical spacing.
    https://www.dropbox.com/s/sdd05vrzah7fq45/wid.png

    2) And what about menu

    I use Enfold theme in multisite. Can I make header menu global? All subdomain sites get menu from main site…
    Is it possible?

    #188367

    Shalom Asaf!

    Please add following code to Quick CSS in Enfold theme options under Styling tab

    @media only screen and (max-width: 480px) { .responsive .logo { margin-bottom: 50px; }
    #advanced_menu_toggle { top: 77%; }}

    Best regards,
    Yigit

    #188304

    Hey!

    1) I tagged the thread for Kriesi – I’m not sure if the WP Retina 2x plugin is compatible with Enfold or not.

    2) If you don’t want to use the PrettyPhoto lightbox because the button/images are not optimized for retina displays you can try fancybox instead ( https://github.com/fancyapps/fancyBox ). I uploaded a child theme which removes the default prettyphoto lightbox and uses the fancybox script instead here: http://www.mediafire.com/?05ho02ecut516hu

    3) The dropdown icon of the select box is a png image – I’ll ask Kriesi to replace it with a high res version.

    Best regards,
    Peter

    #188303
    This reply has been marked as private.
    #188221

    Hey!

    Please add this code on your custom.css file located on wp-content/themes/enfold/css folder:

    #header_meta {
    background: gray !important;
    }

    Regards,
    Ismael

    Hi RDCSI!

    You can change the hover color of the search icon using this:

    .header_color .main_menu ul:first-child > li:last-child a:hover {
    color: red;
    }

    Go to Appearance > Menus then click “Screen Options”. Enable the CSS Classes. Add a css selector on a menu item that you want to change to donate button. Example, add “donate-button” as the css class. Go to Enfold > Styling > Quick CSS then add this code:

    #top .main_menu .menu li.donate-button a {
    background: red;
    height: 30px !important;
    display: block;
    line-height: 30px !important;
    position: relative;
    top: 28px;
    }

    Best regards,
    Ismael

    #188162
    domvitz
    Participant

    Hi,

    Is it possible for the blog post grid to display further information below the featured image?

    I am currently using a plugin that I had created but the developer has disappeared and I can’t make any changes. I have seen that your enfold theme does everything that I would like it to. I would still use the plugin for the vehicles as it works just find but use the theme to display them. On a page using the blog posts feature and choosing the “display entries from a custom taxonomy” option, I would like it to show certain custom fields below the image and a button to take you to the page.

    This is an example of what I am talking about. http://development.executivecontracts.co.uk/test-home-display/ but I would like it to display the information on this link: http://development.executivecontracts.co.uk

    Make,
    Model
    Term
    Mileage
    Options
    Price
    Enquiry button.

    I do not need it to show an excerpt of the post. Just the list of items detailed above.

    Can this be done and if so would you be able to let me know how?

    Many thanks

    Dom

    • This topic was modified 12 years, 5 months ago by domvitz.
    #188109

    Hi!

    Yes your theme now looks updated. Please deactivate plugins and check adding cutom css codes. If it starts to work again, you can add following code to Quick CSS in Enfold theme options under Styling tab or into Custom.css file inside Enfold/CSS folder to change color of header meta and adjust it as desired

    #header_meta { background-color: white; }

    You are welcome :)

    Cheers!
    Yigit

    #188108

    Hi, i think i just updated the enfold one. 2.4.2 it says now.

    didnt try the plugins yet but something is wrong now with the header.

    it became transparent.

    any idea what happened or what css code is doing that?

    kinda unreadable ugly now hehe

    APRECIATE your HELP btw!!!

    #188105

    Hey!

    Have you tried deactivating all active plugins? And you are using fairly old version of Enfold (1.9.1). You can login on ThemeForest witht the account you have purchased Enfold and go to Downloads section to download the latest version 2.4.2 and update it via FTP
    For a quick guide on updating your theme take a look at this video on updating the Enfold theme via FTP: https://vimeo.com/channels/aviathemes/67209750

    Cheers!
    Yigit

    #188094

    Hey!

    Please try adding the code i posted above to Custom.css file inside wp-content\themes\enfold\css folder. CSS added in Quick CSS section is not being applied for some reason. You can try deactivating the plugins if adding to custom.css file does not work either.

    Best regards,
    Yigit

    #188077

    Hi!

    Do you mind creating a temporary admin login and posting it here privately so we can take a look? Make sure to check “Set as private reply (Only you and moderators will see the content of this post)” above Submit button

    Best regards,
    Yigit

    #187830

    Hey Willem-Paul!

    Please add following code to Quick CSS in Enfold theme options under Styling tab

    .gform_wrapper .gform_footer { float: right!important; padding: 0px 0 5px 0!important; margin: -5px 0 0 0!important; }

    Regards,
    Yigit

    • This reply was modified 12 years, 5 months ago by Yigit.
    #187621

    Its available from the pop up when editing the button code so you can add in the options window without having to just use the shortcode.

    #187593

    Thanks Devin
    Just what I needed. I didin t know about the ‘custom’ option, this worked like a charm.
    I would strongly recommend adding your code as an example on this page http://kriesi.at/themes/enfold/shortcodes/buttons/ to let people know…unless I missed it in the docs.

    Thanks again

    #187573

    In reply to: TABLE: BUTTON COLUMN

    Hello!

    Not possible at the moment, you can request it here for future updates, or f you really need you could try hiring a freelancer for the job.

    Cheers!
    Josue

Viewing 30 results - 10,651 through 10,680 (of 11,218 total)