Child Theme customization

Home Forums Legacy Support Support queries Child Themes Child Theme customization

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #136955
    monkeysweb
    Participant
    Hi, I need to insert the "add to cart" button in the course directory page. I've added this in the function.php file (Child Theme): add_action('bp_directory_course_item','custom_show_course_button_in_course_directory'); function custom_show_course_button_in_course_directory(){ echo the_course_button(); } But I'd like that the button appears below the item-credits (after the price, in my case under the "price options") and not in a separate div. Any suggestion?
    #136984
    H.K. Latiyan
    Participant
    Hi, You can adjust it only by using the custom css as there is no action available to show the button below the credits. Below is an example css: .course.directory a.course_button.full.button {     width: 155px;     height: 40px;     padding: 10px !important;     float:right; }
    #137095
    monkeysweb
    Participant
    Thanks ;)
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Child Theme customization’ is closed to new replies.