• Resolved persulla

    (@persulla)


    Hello,
    I apologise for opening a new thread but I didn’t find anything for my problem, there are similar topics but they don’t solve my problem.

    I am trying to deleting the top margin of my website, https://www.qb-quantobasta.net, but even if I modified into the Stylesheet margin-top in every kind of field nothing happens.

    I noticed that I should have written a Child Theme to customize it, I am sorry, I didn’t know. At the moment I am really in a rush because the website has to go online asap (it is already online but I mean it has to work properly). Once I will finish it I will copy all my files, reinstall the Parent Theme and make the Child one (I will need help for sure).

    I also need to let the user see just 3 pages on 5, but 2 on 5 should remain “secret”, for user who have a code. I found different plugins for members access, but I need something for my members, not for worpress members.

    Can anyone help me?

    Thank you!

    Francesca.

Viewing 7 replies - 1 through 7 (of 7 total)
  • What is top margin that you are refering to?

    The space between what element and what element ?

    let the user see just 3 pages on 5, but 2 on 5 should remain “secret”, for user who have a code

    For this, there is a built-in feature in WP, it’s called password protected page, look over at top right cornoer when writing post/page, the setting is there and it’s self-explanatory.

    Thread Starter persulla

    (@persulla)

    I apologise, I answered via email and I thought it would be automatically published…
    @paulwpxp: I am referring to the margin between the banner of the menu and the top of the page.
    tks so much for the second suggestion!

    Francesca

    @persulla

    There are few things that need to be address.

    Right now, I don’t see site title and tagline in the source code, are you trying to hide them by not putting them ? Just to let you know that you can hide title and tagline “the right way” by setting it to not display, it’s under Appearance / Header. Do not leave site title and tagline blank, it’s bad for accessibility and SEO.

    Use this in your childtheme’s style.css to control margin between navbar and whatever above it

    .main-navigation {
        margin-top: 300px;
    }

    For further CSS only question, you could get faster and richer support via CSS specific forum.

    Last thing, that you need to pay attention, the background image of your site is almost 8MB !, are you sure ? Users who visit your site need to download a page with 8MB bandwidth each time the page is loaded ? For this, please consider using image optimization.

    None of us, developers or regular web users, can’t stand 8MB background image.

    Thread Starter persulla

    (@persulla)

    Hello,
    thanks again!

    Well, this is my first time I try to edit a theme, and I guess you could see it from a lot of details ??

    For the image: I just installed a plugin to optimize it, I am trying to do it right now. thank you very much!

    For the title and tagline: I think I made a mess when I was trying not to show the title of the post of the homepage. As soon as I will solve the image problem I will try to figure it out.

    I have a question about the plugins and the child theme, and in general about all the modifications I made until I found I should have written a Child theme: all of them will be destroyed once I will upload my child theme?
    Is there any way to copy what I have done since now and just to replace it?

    @persulla

    Child Theme is essential, not optional.

    The level of modifications you’ve made is so very little, there is no problem at all in creating a child theme right now, it will take you not more than 10 mins to have it completed.

    As for the image optimization, you should try not to use that background image, leave only that background color #DDCAAD, because it compliments with the front image you have there and already give stylist look.

    The front image should not be in .png, this kind of image should be saved and optimized as jpg, you will save a lot of bandwidth, and make your site loads faster.

    For other questions, please create a new one, so we have 1 topic per 1 issue, it’s easier for keep tracking, and useful for people finding solutions to their problems.

    Thread Starter persulla

    (@persulla)

    I am closing this thread, thank you again.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘deleting the top margin – TwentyTwelve’ is closed to new replies.