Viewing 30 results - 2,881 through 2,910 (of 18,730 total)
  • Author
    Search Results
  • #1285950
    This reply has been marked as private.

    Hi,
    I would like to style the menu similar to the church demo, so that ist shows the the theme color when you hover over the menu (see screenshot).
    hover in demoUnfortunately this feature was lost when i changed to another preset color scheme (cyan). I even know how to change it with advanced styling options. The problem is, that i also want to change the font size and the “Buchstaben-Abstand” (sorry, use german language in the backend and don’t know all the correct translations [see 2. screenshot]).
    change options If I make the change with the background color and another font color for the hover effect, it loses the font-size settings for the active mode.

    #1285853

    Hey,

    Please add following code to Quick CSS field in Enfold theme options > General Styling tab :)

    
    #top .social_bookmarks li a {
        font-size: 22px;
    }
    

    Best regards,
    Yigit

    #1285850

    Hi Yigit,
    okay, silly me, that works.

    Can you give me a hint how to make them bigger. I have searched the forum and tried

    #socket .social_bookmarks li a {
    width: 50px !important;
    height: 50px !important;
    font-size: 28px !important;
    }

    but that does not work.

    Thanks.

    #1285794

    Hey lle-it,
    Sorry for the very late reply, to add a “Skip to content” button please try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_screen_reader_script(){
        ?>
        <script>
      jQuery(window).load(function(){
        jQuery( '<div id="skipnav"><p class="skipnav"><a href="#main_content">Skip to Content (Press Enter)</a></p></div>' ).insertBefore( '#top' );
        });
      </script>
        <?php
        }
    add_action('wp_footer', 'custom_screen_reader_script');

    In the above code please note the custom ID: main_content , this ID should be added to your page “main content” area that you want the Skip Nav to target.
    To add a ID to an element such as a color section, please look in the element backend under the “developer” tab, for that element.
    This approach will give you better control of the Skip Nav for each page. For example, your homepage may have a slider that the Skip Nav should jump over and go to the first color section, which contains the first content for that page. While other pages may have a different “first content” as defined by the UX and not the ALB elements.
    I hope this makes sense.
    With the above script you will also want to use this css to style, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .skipnav {position: absolute; display: none; text-align: left; margin: 0; padding: 0} /*For all, including Opera. Display:none used to switch off the skip links for Opera users (it's redundant, Opera has excellent keyboard navigation)*/
    * html .skipnav {display: block} /*Switch on for IE6 and below*/
    *+html .skipnav {display: block} /*Switch on for IE7*/
    :root .skipnav {display: block} /*Switch on for Moz, FF and Safari*/
    .skipnav p {margin: 5px 0 0 0; padding: 0; position: absolute; font-size: 2em}
    .skipnav a {width: 26em; display:block; color: #fff; background: #333; text-decoration: none; padding: 5px; position: absolute; left: -1000em; top: 0; font-weight: bold}
    .skipnav a:visited {color: #fff}
    .skipnav a:focus, .skipnav a:active {z-index: 999; min-width: 250px; top: -.1em; left: 0; border: solid #777 2px; color: #fff; background: #333 !important} /*Note IE bug that requires use of :active to mimic effect of :focus*/
    .skipnav a:hover {cursor: default} 

    Please feel free to adjust to suit.
    After applying the css, please clear your browser cache and check.
    The expected results:
    2021-03-05_082208.jpg

    Best regards,
    Mike

    #1285646

    Hi Ricard
    Just fonts size (I would like to be able to apply html in the title so that some of the words are bold and others not), weight, etc.
    Nothing special. I tried installing the css snippets on the style sheet according to your documentation and followed all the steps (have a look at the shortcode, it is copied) and still nothing. I also checked to see if I have any other css referring to accordion, but no…

    #1285539

    Thank you, Victoria. The layout has been fixed to be consistent.

    I used this code in the CSS:

    #top .avia_textblock .av_font_icon.avia-icon-animate {
    min-height: 80px;
    }

    The way the icon and text are presented on the page looks like this:

    [av_font_icon icon='ue885' font='entypo-fontello' style='' caption='' size='25px' position='left' color='#00539c' link='' linktarget='' animation='' id='' custom_class='' av_uid='av-182t1v3' admin_preview_bg=''][/av_font_icon] It can also be planned in advance when dysplasia or cancer develops as a result of long-standing IBD. When surgery is planned, it’s important to be surgically marked by a Wound, Ostomy, Continence Nurse (WOCN) to ensure proper placement of the ostomy.

    I’m looking to have all lines match and not wrap under the icon. Is there a way to do this? I’ve placed the pages that have text wrapping under the icon in private content. It begins at the third line.

    #1285447
    Steve Webgecko
    Participant

    Hi there.

    I know we had this before somewhere, but it didn’t worked for me.
    In the SLIDER Fullwidth I need the [avia-caption-title] like this
    H2 –> H1
    p –> H2

    I think the best way to do so is an AddON for the
    «Select a custom font size for the title» as there is a dropdown for Sizes «Standard, 10px – 120px.
    Do you have a PHP Snippet to add title tags H1, H2 and maybe H3 to this dropdown?

    Other: I need the [avia-caption-title] bottom with fullsize Background Color WHITE opacity like here:
    http://iso-swiss.sager.ch.vasco.sui-inter.net/wp-content/uploads/2021/03/Slider-Caption_H1H2.jpg

    #1285434

    Guenni007,
    brilliant, that worked.
    Your tip for removing the “u” was very helpful.
    pretty sure that I would not have found that easliy.

    THANKS!

    #top .avia-slideshow-arrows a:before {
    	background:none; //remove existing background	
    }
    #top .avia-slideshow-arrows a.next-slide:before {
    	font-family: 'etoile';
    	content: "\e805";
    	font-size:48px;
    	color:black;	
    }
    #top .avia-slideshow-arrows a.prev-slide:before {
    	font-family: 'etoile';
    	content: "\e806";
    	font-size:48px;	
    	color:black;	
    }
    .avia_desktop .av_slideshow.avia-slideshow-2 .avia-slideshow-controls a {
    	  opacity: 1;
    	  filter: alpha(opacity=1);  //arrows always visible
    }
    .avia-slideshow-2 li img {
    	width: 80%; //arrows outside slide image
    }
    #1285409

    Hello and thanks Rikard en Guenni007,
    im on the way but not there yet.

    two questions left: how to repair the height so the text will, for all images in the slider, fit in the container on a mobile and how to put the textcontainer in the middle?

    this is what i did in the quick css, see code.
    the class i gave is ‘mobiel’

    `
    /*make slider text fit for mobile title*/
    @media only screen and (max-width: 767px)
    {
    .mobiel .avia-caption-title
    {width: 100% !important;
    height: 100% !important;
    font-size: 14px;
    }
    }

    /*make slider text fit for mobile text*/
    @media only screen and (max-width: 767px)
    {
    .mobiel .avia-caption
    {width: 100% !important;
    height: 100% !important;
    }
    }

    best regards, jelle

    • This reply was modified 5 years ago by yampieters.
    #1285330

    Hey milenke,

    Do you need to change the size or the font-family?

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1285272

    Hey brand,

    Sorry for the late reply. Please try the following in Quick CSS under Enfold->General Styling:

    @media only screen and (max-width: 767px) {
    .home #layer_slider_1 h1 {
      font-size: 12px;
    }
    .home #layer_slider_1 p {
      font-size: 9px;
    }
    }

    Best regards,
    Rikard

    #1284979

    @Freediver2011
    Something doesnt look right with the first headline. Yes the consent bar is causing a shift for some reason however, the first colour section and heading are causing a greater shift. Perhaps start there.

    Try Reducing the font size and button size within the cookie consent bar. If it has no fixed height it re-sized dynamically based on the content? Therefore causing a small layout shift?

    The heading appears to be served with a post class. Not as a special heading?
    LASS MICH DIR HELFEN APNOETAUCHEN ZU LERNEN
    Wie Du in nur 3 Tagen satte 3 Minuten deine Luft anhalten kannst!

    If I am not mistaken – Perhaps try changing it to a special header element?
    Try changing the settings for the min-height of the Colour Section background element behind the heading as well.

    #1284959

    Hey Tia,

    Please try the following in Quick CSS under Enfold->General Styling:

    span.now_sold {
        position: absolute;
        z-index: 2;
        right: 0;
        padding: 10px;
        background: mediumpurple;
        color: white;
    }
    
    p.out-of-stock {
        font-size: 22px;
        color: orange;
    }

    Best regards,
    Rikard

    Hi Victoria,
    unfortunately it isn’t working, I think because of the other css. This is in it:

    #avia-menu a .avia-menu-text{
    font-size:13px!important;
    text-align: center;
    }

    #header .mega_menu_title { text-align: center; }

    div.av-masonry-sort {
    background: #000;
    }
    #top .av-masonry {
    background-color: black !important;
    }

    div.av-masonry-sort .inner_sort_button span {
    color: #fff;
    }

    .html_header_sidebar .main_menu {
    margin-bottom: 400px;
    }

    .html_header_sidebar .logo {
    width: 60%;
    margin: 0 20%;
    }

    /*remove padding from bottom of logo */
    .html_header_sidebar .logo {
    position: relative;
    padding: 40px 40px 110px 40px!important;
    }
    /*remove padding from top & bottom for menu */
    .html_header_sidebar #header .av-main-nav {
    padding: 0!important;
    }
    /* make sidebar scroll */
    .html_header_left #top #header {
    overflow: auto!important;
    }

    .html_header_left #main {
    border: none;
    }

    .main_color .av-masonry {
    background-color: #000;
    }

    .av-masonry-entry { visibility: visible !important; opacity: 1 !important; }

    @media only screen and (max-width: 767px) {
    .responsive.html_header_sidebar #header .av-main-nav > li {
    padding-top: 30px; !important;
    }
    }

    #1284647
    milenke
    Participant

    I created a text widget in the header. I can adjust font-size, color a.s.o.
    But the widget appears obove the logo. I need: logo on the left – textwidget in the rest.

    Michael

    • This topic was modified 5 years ago by milenke.
    #1284573

    in your case this would be:
    ( do not forget to change back the Element Visibility )

    @media only screen and (max-width: 767px) {
    	.responsive .avia_responsive_table .avia-data-table tr.avia-heading-row th {
    		display:none
    	}
    
    	.avia-table-6 tr:nth-of-type(2) td:nth-of-type(1):before { content: 'DI-bokser:'; font-size: 14px; font-weight: 700; text-transform: capitalize; } 
    	.avia-table-6 tr:nth-of-type(2) td:nth-of-type(2):before { content: 'Shure:'; font-size: 14px; font-weight: 700; text-transform: capitalize; } 
    	.avia-table-6 tr:nth-of-type(2) td:nth-of-type(3):before { content: 'DPA:'; font-size: 14px; font-weight: 700; text-transform: capitalize;} 
    	.avia-table-6 tr:nth-of-type(2) td:nth-of-type(4):before { content: 'Sennheiser'; font-size: 14px; font-weight: 700; text-transform: capitalize;} 
    	.avia-table-6 tr:nth-of-type(2) td:nth-of-type(5):before { content: 'AKG:'; font-size: 14px; font-weight: 700; text-transform: capitalize;} 
    
    	.avia-table-6 tr:nth-of-type(4) td:nth-of-type(1):before { content: 'Audio Technica:'; font-size: 14px; font-weight: 700; text-transform: capitalize;} 
    	.avia-table-6 tr:nth-of-type(4) td:nth-of-type(2):before { content: 'Neuman:'; font-size: 14px; font-weight: 700; text-transform: capitalize;} 
    	.avia-table-6 tr:nth-of-type(4) td:nth-of-type(3):before { content: 'Beyer Dynamic:'; font-size: 14px; font-weight: 700; text-transform: capitalize;} 
    	.avia-table-6 tr:nth-of-type(4) td:nth-of-type(4):before { content: 'Diverse'; font-size: 14px; font-weight: 700; text-transform: capitalize;} 
    	.avia-table-6 tr:nth-of-type(4) td:nth-of-type(5):before { content: ''; font-size: 14px; font-weight: 700; text-transform: capitalize;} 
    }
    #1284563

    hm – maybe:
    on my case of the example page i do this to quick css
    you go and count the tr where the new headings had to be inserted – and if you like to influence the first too:

    @media only screen and (max-width: 767px) {
    	.responsive .avia_responsive_table .avia-data-table tr.avia-heading-row th {
    		display:none
    	}
    
    	.avia-table-1 tr:nth-of-type(2) td:nth-of-type(1):before { content: 'a'; font-size: 14px; font-weight: 700; text-transform: capitalize; } 
    	.avia-table-1 tr:nth-of-type(2) td:nth-of-type(2):before { content: 'b'; font-size: 14px; font-weight: 700; text-transform: capitalize; } 
    	.avia-table-1 tr:nth-of-type(2) td:nth-of-type(3):before { content: 'c'; font-size: 14px; font-weight: 700; text-transform: capitalize; } 
    
    	.avia-table-1 tr:nth-of-type(4) td:nth-of-type(1):before { content: 'd'; font-size: 14px; font-weight: 700; text-transform: capitalize; } 
    	.avia-table-1 tr:nth-of-type(4) td:nth-of-type(2):before { content: 'e'; font-size: 14px; font-weight: 700; text-transform: capitalize; } 
    	.avia-table-1 tr:nth-of-type(4) td:nth-of-type(3):before { content: 'f'; font-size: 14px; font-weight: 700; text-transform: capitalize; } 
    }

    https://webers-testseite.de/tables/

    #1284409

    Hi,

    That is because you have following custom CSS code

    .avia-button-cta a.avia-button {
    display: inline !important;
    padding: 14px 30px;
    font-size: 16px !important;
    font-weight: bold;
    }

    Please edit it and remove “display: inline !important;” line

    Best regards,
    Yigit

    #1284318

    In reply to: Problems for footer

    Hi,

    Please try the following in Quick CSS under Enfold->General Styling:

    #footer .widget {
        margin: 0;
    }
    
    #footer {
        padding: 15px 0 0 0;
    }
    
    #footer .widget .widgettitle {
        font-size: 16px;
    }
    
    #footer .widget p {
        font-size: 12px;
    }

    Add [nolink] to the copyright field under Enfold->Footer.

    Best regards,
    Rikard

    #1284190
    honkatech
    Participant

    Hello friends,

    I would like to change the look of a Featured Image Slider I have for news, for example I added a Custom ID Attribute (slidernews),
    I would like to change the font to Roboto, bold.
    Change the font size to 12.
    Show the title at the bottom with the text shaded

    Thanks,

    Hi p-force ,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (min-width: 1024px) {
      #top .avia_textblock h1 {
        font-size: 80px !important;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    Hi Victoria
    This is not working for me…
    In a earlier thread Ismael helped me and found the “bug”in the countdown php-file:
    <?php
    /**
    * Events Countdown
    *
    * Display a countdown to the next upcoming event
    */
    if ( ! defined( ‘ABSPATH’ ) ) { exit; } // Exit if accessed directly

    if( ! class_exists( ‘Tribe__Events__Main’ ) )
    {
    if( ! function_exists( ‘av_countdown_events_fallback’ ) )
    {
    function av_countdown_events_fallback()
    {
    return “<p>Please install the The Events Calendar or The Events Calendar Pro Plugin to display the countdown</p>”;
    }

    add_shortcode( ‘av_events_countdown’, ‘av_countdown_events_fallback’ );
    }

    return;
    }

    if ( ! class_exists( ‘avia_sc_events_countdown’ ) )
    {

    class avia_sc_events_countdown extends aviaShortcodeTemplate
    {

    /**
    *
    * @var array
    */
    protected $time_array;

    /**
    * UTC startdate of first event
    *
    * @since 4.5.6
    * @var string
    */
    protected $start_date_utc;

    /**
    *
    * @since 4.2.1
    */
    public function __destruct()
    {
    parent::__destruct();

    unset( $this->time_array );
    }

    /**
    * Create the config array for the shortcode button
    */
    function shortcode_insert_button()
    {
    /**
    * inconsistent behaviour up to 4.2: a new element was created with a close tag, after editing it was self closing !!!
    * @since 4.2.1: We make new element self closing now because no id=’content’ exists.
    */
    $this->config[‘self_closing’] = ‘yes’;
    $this->config[‘version’] = ‘1.0’;

    $this->config[‘name’] = __( ‘Events Countdown’, ‘avia_framework’ );
    $this->config[‘tab’] = __( ‘Plugin Additions’, ‘avia_framework’ );
    $this->config[‘icon’] = AviaBuilder::$path[‘imagesURL’] . ‘sc-countdown.png’;
    $this->config[‘order’] = 14;
    $this->config[‘target’] = ‘avia-target-insert’;
    $this->config[‘shortcode’] = ‘av_events_countdown’;
    $this->config[‘tooltip’] = __( ‘Display a countdown to the next upcoming event’, ‘avia_framework’ );
    $this->config[‘disabling_allowed’] = true;
    $this->config[‘id_name’] = ‘id’;
    $this->config[‘id_show’] = ‘yes’;
    $this->config[‘alb_desc_id’] = ‘alb_description’;

    $this->time_array = array(
    __( ‘Second’, ‘avia_framework’ ) => ‘1’,
    __( ‘Minute’, ‘avia_framework’ ) => ‘2’,
    __( ‘Hour’, ‘avia_framework’ ) => ‘3’,
    __( ‘Day’, ‘avia_framework’ ) => ‘4’,
    __( ‘Week’, ‘avia_framework’ ) => ‘5’,
    /*
    __( ‘Month’, ‘avia_framework’ ) =>’6′,
    __( ‘Year’, ‘avia_framework’ ) =>’7′
    */
    );

    $this->start_date_utc = ”;
    }

    function extra_assets()
    {
    //load css
    wp_enqueue_style( ‘avia-module-countdown’, AviaBuilder::$path[‘pluginUrlRoot’] . ‘avia-shortcodes/countdown/countdown.css’, array( ‘avia-layout’ ), false );

    //load js
    wp_enqueue_script( ‘avia-module-countdown’, AviaBuilder::$path[‘pluginUrlRoot’] . ‘avia-shortcodes/countdown/countdown.js’, array( ‘avia-shortcodes’ ), false, true );
    }

    /**
    *
    * @since < 4.0
    * @param int $offset
    * @param int $query_fix
    * @param string $categories
    * @return WP_Query
    */
    protected function fetch_upcoming( $offset = 0, $query_fix = 0, $categories = ” )
    {
    $start_date = date( ‘Y-m-d’, mktime( 0, 0, 0, date( ‘m’ ), date( ‘d’ ) – $query_fix, date( ‘Y’ ) ) );

    $terms = ( ! empty( $categories ) ) ? explode( ‘,’, $categories ) : array();

    $query = array(
    ‘paged’ => 1,
    ‘posts_per_page’ => 1,
    ‘eventDisplay’ => ‘list’,
    ‘offset’ => $offset,
    ‘start_date’ => $start_date
    );

    if( isset( $terms[0] ) && ! empty( $terms[0] ) && ! is_null( $terms[0] ) && $terms[0] != ‘null’ )
    {
    $query[‘tax_query’] = array(
    array( ‘taxonomy’ => Tribe__Events__Main::TAXONOMY,
    ‘field’ => ‘id’,
    ‘terms’ => $terms,
    ‘operator’ => ‘IN’
    )
    );

    }

    $upcoming = Tribe__Events__Query::getEvents( $query, false );

    return $upcoming;
    }

    /**
    *
    * @since < 4.0
    * @param WP_Query $next
    * @return boolean
    */
    protected function already_started( Array $next )
    {
    $this->start_date_utc = ”;

    // backwards compatibility
    if( empty( $next[0]->event_date_utc ) && empty( $next[0]->event_date ) )
    {
    return true;
    }

    /**
    * Compare UTC times ( https://www.php.net/manual/en/function.time.php#100220 )
    */
    $today = date( ‘Y-m-d H:i:s’ );
    $this->start_date_utc = get_post_meta( $next[0]->ID, ‘_EventStartDateUTC’, true );

    if( empty( $this->start_date_utc ) )
    {
    return true;
    }

    if( $today < $this->start_date_utc )
    {
    return false;
    }

    return true;
    }

    /**
    * Popup Elements
    *
    * If this function is defined in a child class the element automatically gets an edit button, that, when pressed
    * opens a modal window that allows to edit the element properties
    *
    * @return void
    */
    function popup_elements()
    {

    $this->elements = array(

    array(
    ‘type’ => ‘tab_container’,
    ‘nodescription’ => true
    ),

    array(
    ‘type’ => ‘tab’,
    ‘name’ => __( ‘Content’, ‘avia_framework’ ),
    ‘nodescription’ => true
    ),
    array(
    ‘type’ => ‘template’,
    ‘template_id’ => $this->popup_key( ‘content_countdown’ )
    ),

    array(
    ‘type’ => ‘tab_close’,
    ‘nodescription’ => true
    ),

    array(
    ‘type’ => ‘tab’,
    ‘name’ => __( ‘Styling’, ‘avia_framework’ ),
    ‘nodescription’ => true
    ),

    array(
    ‘type’ => ‘template’,
    ‘template_id’ => ‘toggle_container’,
    ‘templates_include’ => array(
    $this->popup_key( ‘styling_general’ ),
    $this->popup_key( ‘styling_colors’ )
    ),
    ‘nodescription’ => true
    ),

    array(
    ‘type’ => ‘tab_close’,
    ‘nodescription’ => true
    ),

    array(
    ‘type’ => ‘tab’,
    ‘name’ => __( ‘Advanced’, ‘avia_framework’ ),
    ‘nodescription’ => true
    ),

    array(
    ‘type’ => ‘toggle_container’,
    ‘nodescription’ => true
    ),

    array(
    ‘type’ => ‘template’,
    ‘template_id’ => $this->popup_key( ‘advanced_heading’ )
    ),

    array(
    ‘type’ => ‘template’,
    ‘template_id’ => ‘screen_options_toggle’
    ),

    array(
    ‘type’ => ‘template’,
    ‘template_id’ => ‘developer_options_toggle’,
    ‘args’ => array( ‘sc’ => $this )
    ),

    array(
    ‘type’ => ‘toggle_container_close’,
    ‘nodescription’ => true
    ),

    array(
    ‘type’ => ‘tab_close’,
    ‘nodescription’ => true
    ),

    array(
    ‘type’ => ‘tab_container_close’,
    ‘nodescription’ => true
    )

    );

    }

    /**
    * Create and register templates for easier maintainance
    *
    * @since 4.6.4
    */
    protected function register_dynamic_templates()
    {

    /**
    * Content Tab
    * ===========
    */

    $c = array(
    array(
    ‘name’ => __( ‘Which Entries?’, ‘avia_framework’ ),
    ‘desc’ => __( ‘Select one or more taxonomies to get the next event for countdown. If none are selected all events are used.’, ‘avia_framework’ ),
    ‘id’ => ‘categories’,
    ‘type’ => ‘select’,
    ‘taxonomy’ => Tribe__Events__Main::TAXONOMY,
    ‘subtype’ => ‘cat’,
    ‘multiple’ => 6
    ),

    array(
    ‘name’ => __( ‘Display Event Title?’, ‘avia_framework’ ),
    ‘desc’ => __( ‘Choose here, if you want to display the event title’, ‘avia_framework’ ),
    ‘id’ => ‘title’,
    ‘type’ => ‘select’,
    ‘std’ => ”,
    ‘subtype’ => array(
    __( ‘No Title, timer only’, ‘avia_framework’ ) => ”,
    __( ‘Title on top’, ‘avia_framework’ ) => ‘top’,
    __( ‘Title below’, ‘avia_framework’ ) => ‘bottom’,
    )
    ),

    array(
    ‘name’ => __( ‘Smallest time unit’, ‘avia_framework’ ),
    ‘desc’ => __( ‘The smallest unit that will be displayed’, ‘avia_framework’ ),
    ‘id’ => ‘min’,
    ‘type’ => ‘select’,
    ‘std’ => ‘1’,
    ‘subtype’ => $this->time_array
    ),

    array(
    ‘name’ => __( ‘Largest time unit’, ‘avia_framework’ ),
    ‘desc’ => __( ‘The largest unit that will be displayed’, ‘avia_framework’ ),
    ‘id’ => ‘max’,
    ‘type’ => ‘select’,
    ‘std’ => ‘5’,
    ‘subtype’ => $this->time_array
    ),

    array(
    ‘name’ => __( ‘Problems with next upcoming event incorrect?’, ‘avia_framework’ ),
    ‘desc’ => __( ‘Sometimes the next upcoming event is not queried correctly. This is a known bug. In this case select a number of days to start the query before today. Usually 3-4 days should fix the problem.’, ‘avia_framework’ ),
    ‘id’ => ‘query_fix’,
    ‘type’ => ‘select’,
    ‘std’ => ‘0’,
    ‘subtype’ => AviaHtmlHelper::number_array( 1, 30, 1, array( __( ‘No problems’, ‘avia_framework’ ) => ‘0’) )
    ),

    );

    AviaPopupTemplates()->register_dynamic_template( $this->popup_key( ‘content_countdown’ ), $c );

    $c = array(
    array(
    ‘name’ => __( ‘Text Alignment’, ‘avia_framework’ ),
    ‘desc’ => __( ‘Choose here, how to align your text’, ‘avia_framework’ ),
    ‘id’ => ‘align’,
    ‘type’ => ‘select’,
    ‘std’ => ‘av-align-center’,
    ‘subtype’ => array(
    __( ‘Center’, ‘avia_framework’ ) => ‘av-align-center’,
    __( ‘Right’, ‘avia_framework’ ) => ‘av-align-right’,
    __( ‘Left’, ‘avia_framework’ ) => ‘av-align-left’,
    )
    ),

    array(
    ‘name’ => __( ‘Number Font Size’, ‘avia_framework’ ),
    ‘desc’ => __( ‘Size of your numbers in Pixel’, ‘avia_framework’ ),
    ‘id’ => ‘size’,
    ‘type’ => ‘select’,
    ‘std’ => ”,
    ‘subtype’ => AviaHtmlHelper::number_array( 20, 90, 1, array( __( ‘Default Size’, ‘avia_framework’ ) => ” ) ),
    ),

    );

    $template = array(
    array(
    ‘type’ => ‘template’,
    ‘template_id’ => ‘toggle’,
    ‘title’ => __( ‘Text Settings’, ‘avia_framework’ ),
    ‘content’ => $c
    ),
    );

    AviaPopupTemplates()->register_dynamic_template( $this->popup_key( ‘styling_general’ ), $template );

    $c = array(
    array(
    ‘name’ => __( ‘Colors’, ‘avia_framework’ ),
    ‘desc’ => __( ‘Choose the colors here’, ‘avia_framework’ ),
    ‘id’ => ‘style’,
    ‘type’ => ‘select’,
    ‘std’ => ‘av-default-style’,
    ‘subtype’ => array(
    __( ‘Default’, ‘avia_framework’ ) => ‘av-default-style’,
    __( ‘Theme colors’, ‘avia_framework’ ) => ‘av-colored-style’,
    __( ‘Transparent Light’, ‘avia_framework’ ) => ‘av-trans-light-style’,
    __( ‘Transparent Dark’, ‘avia_framework’ ) => ‘av-trans-dark-style’,
    )
    ),
    );

    $template = array(
    array(
    ‘type’ => ‘template’,
    ‘template_id’ => ‘toggle’,
    ‘title’ => __( ‘Colors’, ‘avia_framework’ ),
    ‘content’ => $c
    ),
    );

    AviaPopupTemplates()->register_dynamic_template( $this->popup_key( ‘styling_colors’ ), $template );

    $c = array(
    array(
    ‘type’ => ‘template’,
    ‘template_id’ => ‘heading_tag’,
    ‘theme_default’ => ‘h3’,
    ‘required’ => array( ‘title’, ‘not’, ” ),
    ‘context’ => __CLASS__
    ),

    );

    $template = array(
    array(
    ‘type’ => ‘template’,
    ‘template_id’ => ‘toggle’,
    ‘title’ => __( ‘Heading Tag’, ‘avia_framework’ ),
    ‘content’ => $c
    ),
    );

    AviaPopupTemplates()->register_dynamic_template( $this->popup_key( ‘advanced_heading’ ), $template );

    }

    /**
    * Frontend Shortcode Handler
    *
    * @param array $atts array of attributes
    * @param string $content text within enclosing form of shortcode element
    * @param string $shortcodename the shortcode found, when == callback name
    * @return string $output returns the modified html string
    */
    public function shortcode_handler( $atts, $content = ”, $shortcodename = ”, $meta = ” )
    {
    $meta = aviaShortcodeTemplate::set_frontend_developer_heading_tag( $atts, $meta );

    $atts = array_merge ( array(
    ‘categories’ => ”,
    ‘min’ => ‘1’,
    ‘max’ => ‘5’,
    ‘align’ => ‘av-align-center’,
    ‘size’ => ”,
    ‘title’ => ”,
    ‘query_fix’ => ‘0’,
    ‘heading_tag’ => $meta[‘heading_tag’],
    ‘heading_class’ => $meta[‘heading_class’],
    ), $atts );

    $find_post = true;
    $offset = 0;

    while( $find_post )
    {
    $next = $this->fetch_upcoming( $offset, $atts[‘query_fix’], $atts[‘categories’] );

    $offset ++;

    if( empty( $next[0] ) || ! $this->already_started( $next ) )
    {
    $find_post = false;
    }
    }

    if( ! empty( $next[0]->event_date_utc ) )
    {
    // backwards compatibility
    $event_date = $next[0]->event_date_utc;
    }
    else if( ! empty( $next[0]->event_date ) )
    {
    $event_date = $next[0]->event_date;
    }
    else
    {
    $event_date = ”;
    }

    if( empty( $next[0] ) || empty( $event_date ) || empty( $this->start_date_utc ) )
    {
    return ”;
    }

    $events_date = explode( ‘ ‘, $this->start_date_utc );

    if( isset( $events_date[0] ) )
    {
    $atts[‘date’] = date( ‘m/d/Y’, strtotime( $events_date[0] ) );
    }

    if( isset( $events_date[1] ) )
    {
    $events_date = explode( ”, $events_date[1] );
    $atts[‘hour’] = $events_date[0];
    $atts[‘minute’] = $events_date[1];
    }

    $atts[‘link’] = get_permalink( $next[0]->ID );
    $title = get_the_title( $next[0]->ID );

    if( ! empty( $atts[‘title’] ) )
    {
    $atts[‘title’] = array( $atts[‘title’] => __( ‘Upcoming’,’avia_framework’ ) . ‘: ‘ . $title );
    }

    $atts[‘timezone’] = ‘UTC’;

    $timer = new avia_sc_countdown( $this->builder );
    $output = $timer->shortcode_handler( $atts, $content, $shortcodename, $meta );

    return $output;
    }
    }
    }

    Could you telle me where i can repare the bug or something that can help to make the countdown as well as the upcoming events are visible again?
    Greetz
    Karin

    #1284020
    brand
    Participant

    Hi, I would like to know how to make the slide, full size on desk, in responsive size on mobile, if possible; and even if it is possible that on smartphones the text is a little bigger and more legible.
    Thank you

    #1284004

    Hi Mark,

    Please change the code I gave you to this:

    
    @media only screen and (max-width: 767px) {
    #top.home #av-layout-grid-1 .avia-builder-el-8,
    #top.home #av-layout-grid-1 .avia-builder-el-11,
    #top #av-layout-grid-1 .avia-builder-el-5,
    #top #av-layout-grid-1 .avia-builder-el-8 {
      display: none;
      padding: 0 !important;
    }
    #top h3 a {
      font-size: 18px;
      text-transform: none;
    }
    
    .responsive #top.postid-25  #wrap_all .flex_column {
      margin-bottom: 0;
    }
    #top.postid-25 .content {
      padding-bottom:0;
    }
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1283790

    In reply to: Caption size

    Hi,

    Thanks for the update. Please try this CSS instead:

    @media only screen and (max-width: 767px) {
    #top #wrap_all .slideshow_caption h2.avia-caption-title, #top #wrap_all .av-slideshow-caption h2.avia-caption-title {
        font-size: 30px !important;
    }
    }

    Best regards,
    Rikard

    #1283730

    Hi Nikko,
    Thank you so much – you are my hero! It does work now…
    Nevertheless I unfortunately still have a problem: The design: The category description does not accept HTML code. ANd on the other hand in the frontend font/textsize differ from the rest of my page. Can I influence this somehow? E.g. Use the same format as for any other body text. Centered instead of left-justified…
    Thank you!!!!!

    #1283724

    Topic: menu system in enfold

    in forum Enfold
    mountaineeringjoe
    Participant

    When I alter the font size on the top header menu this seems to alter the appearance ie background and menu colors of the submenu. I set values to correct but this seem to get overridden. so
    1.increase the size of the header menu
    2.the submenu goes from white background to the color of the header background green and font of the submenu goes to white

    At the moment i have returned the top menu font to default but the values do seem to override each other

    #1283693
    ComeAlivesorted
    Participant

    Hi there

    Something really strange is happening on my site. I have Enfold Child theme active and have been building this site, currently there are not many additional plugins or anything on the site as it is still in its early stages of development however today when I started working on the site I started making a few changes (Just adding a new page, minimal CSS etc) and all of a sudden it removed (or replaced) my original CSS. The CSS is still in the panel but there is other CSS over riding it and I cannot find where that CSS is coming from. I assumed that it was being added in by a plugin that I added, so I deleted that plugin, it did not go back to how it was, I then had to roll back my entire site and my styling came back. After I did this I continued to edit my site again and all I did was switch off the Social Links in the footer socket, and add in some CSS to center align my socket content and again it removed all my CSS styling (or replaced it). I then went and removed the CSS that I added to center align my socket content but it is not being undone, my socket is still center aligning.

    Keep in mind that this site is still very early into dev and there are not many plugins on the site (Literally only 5 at the moment) and all these plugins have been active since the last time I edited the site and did not cause any issues. I have also deactivated (currently) all the plugins to check and none of them make any difference.

    Please can you check where this new CSS is pulling from and how it keeps coming back onto my site.

    I have not rolled back again so when you look at the site you will be seeing the “broken” styling, for example, all the H2’s are not supposed to be in caps, I have not set it to be in caps anywhere on the site yet it is transforming into caps. Also all my font sizes are off (not what I am setting it to) and when I try to change it, it just does not work.

    Your help is super appreciated!

    p-force
    Participant

    So far I can only select 8 -10-12-14-18-24-36 but I would like to be able to select a very large one such as 80 etc.
    How can I integrate them there?

    Bisher kann ich nur 8 -10-12-14-18-24-36 anwählen ich möchte aber eine sehr große wie zb. 80 und andere individuell auch anwählen können.
    Wie kann ich diese dort integrieren?

    Thx / Danke

Viewing 30 results - 2,881 through 2,910 (of 18,730 total)