Viewing 9 posts - 31 through 39 (of 39 total)
  • Author
    Posts
  • #1285737

    Hi mai,

    Please see the screenshot in private content.
    If you check via web inspector, and see Elements, you would see this code is not showing:

    #portfolio-category-description > div {
        text-align: center;
        padding: 0 20px 20px;
        color: #999;
    }

    Also the description seems to be empty.

    Best regards,
    Nikko

    #1285998

    Hi Nikko,
    That’s correct – as long as this does not look “nice” I have deleted the category descriptions.

    #1286285

    Hi mai,

    I see, can you give us a screenshot of how the code I gave will look on your end (so we can assess if it’s cached or not) then give us a mockup of how you want it to look so we can give you some CSS code that should help achieve that design.

    Best regards,
    Nikko

    #1300495

    Hi Nikko,
    I need to apologize for the delayed answer!!!
    In the private content I have included a download link with the following files:
    1) a mockup with what I thought might look nice
    2) how currently the reality does look like (whereby I have deleted any description in the categories after creating this file as I do not really like the current design…)
    3) settings in the category description which I used for creating #2
    Thank you!!!!!

    #1300948

    Hi mai,

    No worries, I believe the output of the code given before is near to the desired output, except it’s more narrow and centered.
    I believe this is the only code left to add in Quick CSS (you may need to adjust the values like the max-width):

    #portfolio-category-description {
        width: 80%;
        max-width: 800px;
        margin: 0 auto 20px;
        text-align: center;
    }

    Best regards,
    Nikko

    #1301071

    Hi Nikko,
    Thanks for your prompt reply and the new code! But it is not just the alignement and the font size. It is also the the font color and the line breaks as well as format e.g. for underlined text. Just saw that it seems that WordPress deleted </p>, </br> and <u> from the category description. I had included that in order to check what is done by WordPress and what is not.
    Thanks

    #1301101

    Hi mai,

    I believe that you would need to use Advanced Custom Fields or similar plugin for that type of functionality in the backend. This would also require you to change some codes I gave in php.

    Best regards,
    Nikko

    #1301125

    Understood – thanks

    #1301133

    Hi mai,

    You’re welcome :)
    We’ll keep this thread so you can post here if you need further assistance on this topic.

    Best regards,
    Nikko

Viewing 9 posts - 31 through 39 (of 39 total)
  • You must be logged in to reply to this topic.