Tagged: avia layout builder
-
AuthorPosts
-
June 17, 2015 at 1:32 pm #460733
Hi guys,
A while ago you’ve helped me setting up the ALB in conjunction with LearnDash, I love it! I hope you can help me again?
1: When I style the page with the ALB, I keep getting LearnDash comments in the header like Topic Progress, Back to lesson text with arrow and the little round bulletpoints which show your progress. (you see everything top left in the dark header)
2: The header grows in size
The ALB and LD conflict seems to split LearnDash in two, since you see the lessons table on the bottom. Everything that LearnDash generates has to end up in the main content on the page.
Previously I had the text “Course not yet started” removed with your help in the header, but I can’t remove this text because I need the functions of the elearning plugin. And I really want the Course not yet started text back also.
Can you help me? I have to use LearnDash for my courses and I really want to use Enfold since it is the only theme I love and use anymore.
Sincerely,
MortickaJune 18, 2015 at 6:41 pm #461497Hi Morticka!
not sure what you are trying to achieve.
1.) Do you want to hide those elements? if yes use this code:
div#learndash_topic_dots-43 { display: none; } div#learndash_back_to_lesson { display: none; }
2.) Please provide us a mockup/screenshot showing what you are trying to achieve. Use imgur.com or dropbox.
If you don’t want the header to grow/change, then make the settings in Enfold->Header->Header behaviorRegards,
AndyJune 23, 2015 at 3:34 pm #463460Hi Andy!
Thx for your response. In the mean time I had help from LearnDash Support.
1: I solved the first problem with help from LearnDash Support, by changing the color and the background.
LearnDash support also said: “… it seems that the topic items are actually not in the header (see screenshot), but that your (Enfold) theme has a post-header/pre-content section that is the same color as the header making it look like it is in the header. ”
So that’s the reason of the conflict with LearnDash and Enfold and the reason why the header increases in size.
Since I have a dark header I made the pre-content section white and the text black and moved the text down a bit with CSS.
For people who have the same problem (using a dark header) and reading this topic, the CSS code to change the background etc is:
.learndash
.learndash_topic_dots.type-dots {
padding-bottom: 10px;
padding-top: 20px;
padding-left: 10px;
background-color: white;
}#learndash_back_to_lesson {
margin-bottom: 0px!important;
padding-left: 10px;
background-color: white;
}It is not a perfect solution, but it will do for the moment.
2. I hid the code with CSS and now use a shortcode to display the text (and function of) “Course not yet started”
Again for people who are looking for the same solution:
Hiding the text CSS:
span#learndash_course_status {
display: none;
}And to create a shortcode for the course status so that you can display it anywhere on the page, put the following code in functions.php:
add_shortcode(‘coursestatus’, ‘learndash_course_status’);
and then add the following anywhere within the course page:
Course Status: [coursestatus]Changing settings in the Enfold Header behavior settings does not work, because the conflict is only with the LearnDash plugin and you only see it when you’re logged in.
Both solutions are not optimal, but they will do for the moment. LearnDash is looking at the problem, apparently they have to do to something with the code of the LearnDash core.
Sincerely,
MortickaJune 24, 2015 at 11:04 am #463903 -
AuthorPosts
- You must be logged in to reply to this topic.