Okay
  Public Ticket #1576573
error in drop down menu
Closed

Comments

  • mazmac started the conversation

    As per the attached shot I have a strange error in the drop down menu.  I have gone through all the sub-menus and ensured they are under the correct parent..but no clue how to fix

  •  1,710
    Barry replied

    Hi Maryanne,

    The issue is caused by some pages that don't have a page title name. Please navigate to the Pages tab from the WordPress admin menu and you will see 3 pages that has "(no title)" as page name. Please click on each of these pages and give them a page name. 

    That should fix the issue.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  • mazmac replied

    I did that deliberately as I didn't want those pages to appear in the drop-down menu.   There were originally 3 with a #numeric error response... but then when I went in and removed TITLE and ensured SUB-TITLE was completed, 2 of them rectified...but I can't see where/how to remove that last one.

    These untitled pages will be linked to certain text on the parent page of HOW WE HELP YOU.  I didn't want the drop-down to include everything, rather give readers the choice to click through to what they want to see.

    Hope that clarifies my needs a bit.

  •  1,710
    Barry replied

    Hi Maryanne,

    In that case I think it's better to give the unnamed pages a title and then remove them from the submenu via Appearance -> Menu's -> Main Navigation.

    If you would like to add a custom link to the submenu where the menu item links to a specific part of the page you can add a "Custom Link" to the menu structure where you can give the item a custom name and url.

    The submenu item with the # and page id title can be removed there from the menu structure.

    Please see the attached images

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  • mazmac replied

    Hi Barry.. we're nearly there... I'm sorry but I don't understand your last message.  I have titled the pages ( which I want hidden from the menu) as you advised, but I don't know what you want me to link them to? I copied the url of that given page eg Posture...but that just added the custom link to the main site menu.  I am really sorry..... I am actually sicker now than I was earlier in the week..so brain is definitely on a go slow.

    As you can see from the 3rd attachment I have linked some of the text to click through to the page with detailed info on that subject but cannot see how to remove that page from the drop down menu under "How we help you"

  •  1,710
    Barry replied

    Hi Maryanne,

    If you don't want to display those links in the submenu please navigate to Appearance -> Menu's and select the "Main Navigation" from the select field on that page. Here you can click on the link panels and press delete to remove them from the menu/submenu (see attached screenshot). In this area you can control the navigation of the theme.

    "Screenshot(162).png",
    "services_drop_down_menu_problems.png"
    See above paragraph to remove these links from the submenu

    "service_page_linking_issues.png"
    Texts already link to the specific page on http://www.posturechiro.com.au/services/

    If you have any questions please let me know. I hope you get well soon

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  • mazmac replied

    wow.. thanks... sure took us a long time to get there.

    My next headache... where is the responsive editor?  Or is there one?

    The mobile site looks dreadful so needs to be edited quite a bit.

    I have just taken a screen shot of home page... but I'm sure you get the idea...

    Many thanks Barry,

  •  1,710
    Barry replied

    Hi Maryanne,

    There is no such thing as an editor for different screen types (responsive editor), but I can help you with this.

    Please add the following css snippets to Appearance -> Customize -> Theme Options -> Custom CSS

    Slide captions on image

    /* Captions on slide image */
    @media (max-width: 992px) {
        .jumbotron .jumbotron-caption { position: absolute; bottom: 0; }
        .jumbotron .jumbotron-caption .caption-heading h1 { font-size: 24px; }
    }

    Reduce call to action button size

    /* Reduce cta btn size */
    @media (max-width: 992px) {
        .header .header-wrapper .featured-button a { padding: 5px 10px; }
    }

    By default the button will be full width, if you would like to remove that please add the following code instead:

    /* Reduce cta btn size */
    @media (max-width: 992px) {
        .header .header-wrapper .featured-button a { display: inline-block; padding: 5px 10px; }
    }
    

    Mobile logo size

    /* Increase mobile logo size */
    @media (max-width: 992px) {
        .header .header-wrapper .header-logo img { width: 120px; }
    }

    Please change the default 120px value to your own needs

    Unwanted white space

    Currently the "Header" widget area under Appearance -> Widgets contain 3 empty "QT: Icon Box" widgets which create this white space. Please delete the widgets and the white space is removed

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  • mazmac replied

    Thanks Barry... that's great.  I do actually google for solutions prior to harassing you... and yesterday there was a site that did have an editor for the mobile view... so I was hoping...

    the fact is that on nearly every page... I need to do edits to optimize the mobile view for that page.....sorry.

    so I have attached screen shots yet again.

    I'm nearly out  of your hair..:)

  •  1,710
    Barry replied

    Hi Maryanne,

    Most of the popular page builders for WordPress does not have an editor for different screen types. As far as I know the Elementor page builder is the first page builder that have a function like this and which developers can use in their commercial themes.

    If you woud like change elements the from page builder elements in the theme for different screen types you would need to add custom classes to these elements and then target these classes with custom css to change it for the specific screen type. If you edit the widget you can add a "custom class" in the "Attributes" panel of the modal.

    "reduce_text_size_on_HOME_for_mobile.png"
    Please add "reduce-quote-size" (without " ") in the widget class input field of the widget that contain these texts and then add the following css to Appearance -> Customize -> Theme Options -> Custom CSS:

    /* Reduce quote size homepage */
    @media (max-width: 992px) {
        .reduce-quote-size h2 {
            font-size: 24px;
        }
    }

    You can change the 24px size to your own needs

    "change_image_size_and_placement_ABOUT_page.png"
    Unfortunately it is not possible to change the image size per screen, WordPress does only provide 1 image size. But you can adjust the width of the image with css. Add "change-image-size" (without " ") in the widget input field of this widget and add the following css:

    /* Adjust image width */
    @media (max-width: 992px) {
        .change-image-size img {
            width: 100%;
        }
    }
    

    Below the texts of the "growing up in China.." paragraph there is an empty paragraph which create this gap. Please edit the widget that contain these texts, click the "Text" tab (next to the visual tab) and remove the empty <p> tag.

    To change the text size of the tab. Add the widget class "change-paragraph-size" (without " ") and add the following css:

    /* Adjust paragraph size */
    @media (max-width: 992px) {
        .change-paragraph-size p {
            font-size: 16px;
        }
    }
    

    "remove_white_space_content.png"
    Add the following css in to the theme customizer:

    /* Adjust botto margin content */
    @media (max-width: 992px) {
        .content-area { margin-bottom: 20px; }
    }
    

    You can change the 20px value to your own needs

    "reduce_wasted_space_on_footer_for_mobile_view.png"

    1. Reduce top footer space:

    /* Adjust top footer padding */
    @media (max-width: 992px) {
        .footer .footer--top { padding-top: 0; }
    }
    

    2. Icon box text size:

    /* Adjust top footer icon box text size */
    @media (max-width: 992px) {
        .footer .icon-box--description { text-size: 14px; }
    }
    

    3. Bottom footer padding:

    /* Adjust bottom footer padding */
    @media (max-width: 992px) {
        .footer .footer--bottom { padding: 10px 0; }
    }

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  • mazmac replied

    thanks so much for that Barry.

    Just wondering if it is possible to hide an image in mobile view only?  Again talking of ABOUT page.


    cheers..and have a good weekend :)

    Maryanne

  •  1,710
    Barry replied

    You're welcome

    Yes is possible with the same principle. If you add a custom class to the widget that contain the image you can target the class with css to hide it for a particular screen size.

    For example if you add the custom class hide-image in the widget class input field and then add the following in the theme customizer custom css panel:

    /* Hide element on mobile */
    @media (max-width: 992px) {
        .hide-image {
            display: none;
        }
    }
    

    Please note that above will hide the entire widget so if there is an image and some text within the same widget that have the hide-image class it will both be removed.

    Side note: From the source code of your website I see there are some changes been made to the theme stylesheet (style.css file). Please note that it is not recommend to made any changes to the template files directly. These changes will be overwritten when you update the theme. To add css always use the custom css panel in the theme customizer, this area will not be overwritten on theme updates.

    Thank you! Have a great weekend too

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes