This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***************************** | |
* Author: Mian Shahzad Raza | |
* Organization: WPAcademy.PK | |
* Description: Custom Styling for Resume Elementor Template by WP Academy | |
*****************************/ | |
.wpac-custom-nav .elementor-icon-list-item a { | |
padding: 15px 10px; | |
} | |
.wpac-custom-nav .elementor-icon-list-item a:hover, .wpac-custom-nav .elementor-icon-list-item a.active{ | |
background: #000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*------------------------------------------------------------------------- | |
* Elementor default tab widget does not have an option to use icons for tabs at the moment. | |
* But it will be too much to install a 3rd party addon just for a tabs widget to have icons in tabs.\ | |
* We can add icons to default widget with just a little bit of CSS code. | |
* Copy below CSS code and add it your theme's stylesheet file or you can add it through Appearance > Customize > Additional CSS | |
* ------------------------------------------------------------------------- | |
* Always use a custom class on any widget that you are going to customize | |
* We are using ".wpac-tab-icons" class on tabs widget | |
* ------------------------------------------------------------------------- | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wpac-custom-form ul.tml-links { | |
display: none; | |
} | |
.wpac-custom-login .elementor-section-wrap { | |
text-align: center; | |
} | |
.wpac-custom-form .tml .tml-field { | |
border: none; | |
border-bottom: 3px solid #dddddd; | |
background: transparent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*-------------------------- | |
| BOOKING FORM CODE | |
---------------------------*/ | |
<p class="small-fields">[text* first-name class:small-txt-field placeholder "First Name"] [text* last-name class:small-txt-field placeholder "Last Name"]</p> | |
[email* user-email class:large-txt-field placeholder "someone@example.com"] | |
[tel* phone class:large-txt-field placeholder "+1-111-11111"] | |
[date* booking-date class:small-txt-field placeholder "Select Date"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.small-fields{ | |
margin-bottom: 15px !important; | |
display: block; | |
height: auto; | |
overflow: hidden; | |
} | |
.small-fields span { | |
width: 50% !important; | |
float: left; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Function to check if given user is enrolled into any course. | |
*/ | |
function wpac_check_enrolled_user($user_id){ | |
if (is_numeric($user_id)) { | |
//Global WordPress DB object | |
global $wpdb; |
NewerOlder