Custom page full width instead of default

  • Posted in : cvCard WP
  • bo
    Participant

    Hello,

    I have some custom cvCard pages on my website. Even though I have selected ‘default template’ under ‘page attributes’ in the pages menu, the text on the concerning pages is displayed ‘wide’. If I look at the direct page (so the url without /#/ ) it is fine. However, the page displayed from the slider menu does contain the /#/ and there the text is wide rather than narrow.

    I hope you can help me.

    Best wishes

    serkan
    Moderator

    Hi,
    Could you please share your related url ?
    Thanks

    bo
    Participant

    It concerns the following two pages:
    url-removed

    If you look at these pages it is as it should be:
    url-removed

    serkan
    Moderator

    Hi,
    You can use these custom css codes;

    @media screen and (min-width: 768px) {
    #integriteit .content, #onderzoek-pesten .content { width: 90%; max-width: 740px; margin-left: auto; margin-right: auto; } }

    Thanks

    bo
    Participant

    Thanks! This solved the problem. I also tried to apply the code for the following page to see if that would look better:
    url-removed

    I used your code and added c-v, but apparently there is a mistake:
    @media screen and (min-width: 768px) {
    #integriteit .content, #onderzoek-pesten .content
    #c-v .content
    { width: 90%; max-width: 740px; margin-left: auto; margin-right: auto; } }

    Could you perhaps tell me what I did wrong?
    Thanks so much!

    serkan
    Moderator

    Hi,
    There is a comma mistake. You should add comma before the #c-v code.
    After that (#onderzoek-pesten .content,) a comma is required.
    Thanks

    bo
    Participant

    Thank you for your quick and helpful assistance!

    serkan
    Moderator

    You’re welcome, please don’t forget to rate the theme on themeforest if you liked it, thanks.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register