Shop Categories

X

Hi,Zex

Home Forums Agama Pro Hi,Zex

  • This topic has 16 replies, 2 voices, and was last updated 4 years ago by i2i8.
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #14808
    i2i8
    Participant

    Hi,Zex

    #14809
    i2i8
    Participant
    This reply has been marked as private.
    #14811
    i2i8
    Participant
    This reply has been marked as private.
    #14812
    i2i8
    Participant
    This reply has been marked as private.
    #14813
    Jerry
    Keymaster
    This reply has been marked as private.
    #14815
    i2i8
    Participant
    This reply has been marked as private.
    #14816
    i2i8
    Participant
    This reply has been marked as private.
    #14817
    Jerry
    Keymaster

    Ok 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

    #14818
    i2i8
    Participant

    OK, wait a moment, I just reinstalled the web server system, installed wordpress, I will test it now.

    #14819
    Jerry
    Keymaster

    To 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

    #14821
    i2i8
    Participant

    There 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?

    #14822
    Jerry
    Keymaster

    I 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

    #14823
    i2i8
    Participant

    Posts 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.

    #14824
    Jerry
    Keymaster

    I 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.

    #14825
    i2i8
    Participant

    Here 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.

Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.