Skip to content
Public Ticket #3707

Header Options/Page Width

Conversation thread

PenciDesign replied

Staff Reply

Hi,

I see everything displayed fine - check this image

Please press Ctrl + F5  on your browser to clearly the browser cache and check it again.

Best Regards,

PenciDesign

Rachel Roelofs replied

Customer Reply

Hi agian! 

Thank you for your help it is all working now.

But the social icons are showing up on the live page as little squares. Is there a way to fix this? 

Thank you!

PenciDesign replied

Staff Reply

Hi,

Your hosting has a cache from itself and you can't see the change.

And you can't see the change by my hook via Customizer because the hook doesn't apply for customizer.

Please contact with your hosting provider and requirements them disable the cache from hosting and preview again your site on the front-end and you will see it.

Best Regards,

PenciDesign

Rachel Roelofs replied

Customer Reply

Hello! 

1. Thank you for your help! I can see that you entered the code, but the header on the first page is still not working. Do I need to do something else? 

3. This is fixed! Thank you! 

Rachel 

PenciDesign replied

Staff Reply

Hi,

1/ I did it help you by add more this code at the end of functions.php file on your child theme:

\
/**\
 * Change header style to header 6\
 */\
if( ! function_exists( 'penci_change_header_for_home' ) ) {\
    function penci_change_header_for_home( $data ) {\
        if( is_home() || is_front_page() ) {\
            return 'header-1';\
        } else {\
            return 'header-6';\
        }\
    }\
    add_filter( 'theme_mod_penci_header_layout', 'penci_change_header_for_home' );\
}\

Now, everything working fine.

3/ I just created a menu item "Stories" help you - you can check it.

Best Regards,

PenciDesign

PenciDesign replied

Staff Reply

Hi,

1/ Please send me your admin url and admin account ( username and password  ) - in a private reply. I will take it a look help you.

2/ OK.

3/ Yeah, I was guide you the way to do that. Have you tried it?

Best Regards,

PenciDesign

Rachel Roelofs replied

Customer Reply

Hi again, 

1. I tried to put that code to the functions.php file and it didn't work. I am using a child theme and I tried to put the CSS is the child and the parent and neither worked. 

2. I got this one! thank you 

3. I think I may have explained this wrong. I need the word in the menu not to be clickable or have no link attaching it to a page. I only want it to have the drop down menu that links to other categories of posts. In other words I don't want this page in the attached screenshot to exist. 

Thank you! 

PenciDesign replied

Staff Reply

Hi,

1/ To do that, please go to Customize > Logo and Header Options > on "Header Layout" > select "Header 6". After that, add more this code at the end of functions.php file:

\
/**\
 * Change header style to header 5\
 */\
if( ! function_exists( 'penci_change_header_for_home' ) ) {\
    function penci_change_header_for_home( $data ) {\
        if( is_home() || is_front_page() ) {\
            return 'header-1';\
        } else {\
            return $data;\
        }\
    }\
    add_filter( 'theme_mod_penci_header_layout', 'penci_change_header_for_home' );\
}\

like on this image.

2/ Please check option for it via Customize > Page Options.

3/ You can use "Custom Link" for that menu item with URL is "#"  - like on this image

Best Regards,

PenciDesign

Rachel Roelofs started the conversation

Conversation Start

Hi, 

There are a few things I need help with:

1. I am wondering if I can have the Header 1 on the home page and the Header 6 on every other page? 

2. I have figured out how to change the max-width of the posts but not of the pages. How do I do that? 

3. I would like one of the menu options at the top of the mage not to link to a page but just have the drop down option is that possible? 

Thank you so much! 

Rachel 

Want to join this conversation or access attachments? Sign in first.