badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

themehorse3

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Replace text on featured post slides #19722
    themehorse3
    Participant

    The CSS in the example is the default, of cause you have to make some changes in the css values to position the elements.
    If you place it in the theme options custom css field, it should over-right the default css.

    Greets,
    Dennis

    in reply to: Slider on every page and/or post #19488
    themehorse3
    Participant

    Thank you for your recommendation to use a child theme. I’ve been trying to make one, but have a question:

    How can you overwrite a parent theme function with a child function?

    I want to overwrite require_once( ATTITUDE_STRUCTURE_DIR . '/header-extensions.php' ); in the parent function attitude_load_files with require_once ( get_stylesheet_directory() . '/library/structure/header-extensions.php' );

    Regards,
    Dennis

    in reply to: Slider on every page and/or post #19439
    themehorse3
    Participant

    Got it: it needed some javascript. Changed

    if( ( is_home() || is_front_page() ) && "0" == $options[ 'disable_slider' ] ) {
    		wp_enqueue_script( 'attitude_slider', ATTITUDE_JS_URL . '/attitude-slider-setting.js', array( 'jquery_cycle' ), false, true );
    	}

    in functions.php on line 48-50

    to

    	//if( ( is_home() || is_front_page() ) && "0" == $options[ 'disable_slider' ] ) {
    		wp_enqueue_script( 'attitude_slider', ATTITUDE_JS_URL . '/attitude-slider-setting.js', array( 'jquery_cycle' ), false, true );
    	//}
    

    Kind regards,
    Dennis

    in reply to: Slider on every page and/or post #19438
    themehorse3
    Participant

    I have added

    echo '<!-- not home and show slider -->';
    
    if( function_exists( 'attitude_pass_cycle_parameters' ) ) 
     attitude_pass_cycle_parameters();
    if( function_exists( 'attitude_featured_post_slider' ) ) 
       attitude_featured_post_slider();
    

    to header-extensions.php after else { on line 281 before if( ( '' != attitude_header_title() ) || function_exists( 'bcn_display_list' ) ) { on line 282.

    Now it shows but the slider nav is not showing and slider stopped rotating.

    Does anyone please have any tips? I would really love to have a slider on all pages.

    Kind regards,
    Dennis

    in reply to: Modifie colour and size of title #19218
    themehorse3
    Participant

    Not sure what headlines you mean but you can add the styles for the headings to your custom css:

    h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-family: “Philosopher”,sans-serif;
    color: #555;
    }

    in reply to: Replace text on featured post slides #19217
    themehorse3
    Participant

    Hi to move the whole block edit the class “featured-text”:

    .featured-text {
    position: absolute;
    bottom: 55px;
    right: 30px;
    text-align: right;
    color: #FFF;
    }

    To move the title edit “featured-title”, to move content edit “featured-content”.

    .featured-title {
    font: 24px/30px “Philosopher”,sans-serif;
    padding: 10px 20px;
    background: none repeat scroll 0% 0% rgba(5, 169, 197, 0.9);
    float: right;
    max-width: 525px;
    }

    featured-content {
    padding: 20px;
    background: none repeat scroll 0% 0% rgba(85, 85, 85, 0.9);
    margin-top: 4px;
    float: right;
    clear: right;
    max-width: 355px;
    }

Viewing 6 posts - 1 through 6 (of 6 total)