Hi,Zex
- This topic has 16 replies, 2 voices, and was last updated 4 years ago by
i2i8.
-
AuthorPosts
-
June 18, 2019 at 4:51 pm #14808
i2i8
ParticipantHi,Zex
June 18, 2019 at 4:52 pm #14809i2i8
ParticipantThis reply has been marked as private.June 18, 2019 at 4:54 pm #14811i2i8
ParticipantThis reply has been marked as private.June 18, 2019 at 4:55 pm #14812i2i8
ParticipantThis reply has been marked as private.June 18, 2019 at 5:22 pm #14813Jerry
KeymasterThis reply has been marked as private.June 18, 2019 at 5:30 pm #14815i2i8
ParticipantThis reply has been marked as private.June 18, 2019 at 5:36 pm #14816i2i8
ParticipantThis reply has been marked as private.June 18, 2019 at 5:39 pm #14817Jerry
KeymasterOk i understand, so let me explain you how to fix the issue with Code Highlight plugin:
1) Go to: wp-content/themes/agama-pro/assets/style.min.css and open it.
2) Find next code:
.comment-content pre, .entry-content pre { border: 1px solid #ededed; color: #666; font-family: Consolas, Monaco, Lucida Console, monospace; font-size: 12px; font-size: .857142857rem; line-height: 1.714285714; margin: 1.714285714rem 0; overflow: auto; padding: 1.714285714rem }
3) Change it with next code:
.comment-content pre:not(.CodeMirror-line), .entry-content pre:not(.CodeMirror-line) { border: 1px solid #ededed; color: #666; font-family: Consolas, Monaco, Lucida Console, monospace; font-size: 12px; font-size: .857142857rem; line-height: 1.714285714; margin: 1.714285714rem 0; overflow: auto; padding: 1.714285714rem }
That should fix the issue with code highlight.
Regards
June 18, 2019 at 5:41 pm #14818i2i8
ParticipantOK, wait a moment, I just reinstalled the web server system, installed wordpress, I will test it now.
June 18, 2019 at 5:44 pm #14819Jerry
KeymasterTo see changes you will also need to open next file:
wp-content/themes/agama-pro/framework/class-agama-core.php and find next code:
static private $development = false;
Change it to:
static private $development = true;
This will clear theme cache.
Regards
June 18, 2019 at 6:07 pm #14821i2i8
ParticipantThere is another issue. Before, you gave me such a piece of code:
.article-wrapper{ min-height: 200px; }
After I added it,
I found that the gap between the homepage summary and the space is particularly large.
It is very unattractive.
I try to adjust the min-height. But the most, the minimum can only be adjusted to 190px,
and then small, the problem is back to the previous one, can this help solve it?June 18, 2019 at 6:12 pm #14822Jerry
KeymasterI cannot find the code you are describing, there is no defined min-height: 200px for article-wrapper class in style.min.css
Can you check if you have any custom code inside: Appearance -> Customize -> General -> Additional CSS ?
Please describe how i can reproduce this issue, what blog layout you are using ?
Regards
June 18, 2019 at 6:30 pm #14823i2i8
ParticipantPosts in the same category cannot be displayed at the same level.
So, I added the following code in Appearance -> Customize -> General -> Additional CSS
.article-wrapper{ min-height: 200px; }
Later, I changed to:
.article-wrapper{ min-height: 190px; }
Although it fixes the problem that the same categorized post is not displayed at the same level,
the first post and the second post are displayed at the time of the main page summary,
and the interval between them is particularly large.
I mean The top and bottom margins of the dividing line are particularly large.June 18, 2019 at 6:33 pm #14824Jerry
KeymasterI don’t understand you, attach some screens, if you are adding custom code you should first know what you are doing and how to resolve issues since it could be that you will create more issues with your custom code.
June 18, 2019 at 6:52 pm #14825i2i8
ParticipantHere at us, it is already 0:50 in the morning, I need to sleep, thank you for your patience, when I have problems, I will come back to ask you.
-
AuthorPosts
- You must be logged in to reply to this topic.