Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #12814
    Kindbodesign
    Participant

    Hi,
    I would like write some sentences and format it as body text right below the Home page Subheadline on the homepage.
    I have tried to insert the text in the Homepage Featured Content Options in the “headline-box” – however that text is formatted like a headline obviously.
    Do you have any suggestions how I can do that?
    The address to the site is http://www.andersin.eu

    Thanks
    Eva

    #12833
    Sakin
    Keymaster

    @Kindbodesign: Sorry I am bit confused. Can you explain it in detail and if you have screenshot then send the screenshot url of the change you want.

    #12852
    Kindbodesign
    Participant

    When you look at the homepage http://www.andersin.eu you will see a paragraph
    that starts with “Vi vänder oss……” and ends with “av er så berättar vi mer.”.

    That is the text that I would like to format differently – I would like it to be a ordinary bodytext divided in a couple of paragraphs.
    At the moment I inserted the text by adding it to “Homepage Featured Content Options” into the space for the “headline”.

    I have put a screenshot on the following link: http://www.andersin.eu/enquiry/ so you can see what I would like to change.

    Hope this explains it better.
    Thanks for your help.
    Eva

    #12855
    Sakin
    Keymaster

    @Kindbodesign: Add the following CSS in “Appearance => Theme Options => Custom CSS” box

    #featured-post .entry-title {
    	font-size: 14px;
    	line-height: 1.8;
    }
    @media screen and (min-width: 1190px) {
    	#featured-post .entry-title {
        	font-size: 16px; 
    	}
    }
    @media screen and (max-width: 1060px) {
    	#featured-post .entry-title {
        	font-size: 14px; 
    	}
    }
    @media screen and (max-width: 960px) {	
    	#featured-post .entry-title {
        	font-size: 13px; 
    	}
    }
    #12893
    Kindbodesign
    Participant

    Thanks Sakin,
    Unfortunately this didn’t do the trick since I still cant split the bodytext into different paragraphs and the title format of the 3 Featured Contents disappeared.

    So I am not sure what to do instead.
    Maybe it is possible to insert a textbox above the 3 Featured contents? – I do work in a child theme – is it possible to insert a text box there? Where should I put it in that case?

    Or maybe it is possible to do as I have done at the moment – added the text to a new page (without heading) and set that page as homepage and then move that text up in some way so that it comes before the 3 Featured Conctent boxes?

    Hope you understand what I try to say.
    Thanks
    Eva

    #12903
    Sakin
    Keymaster

    @Kindbodesign: Yes adding Front page and moving above the Featured Content is the best idea. For that you need to build Child theme and then in your child theme functions.php file you need to add like following:

    // Unhook default parent functions
    function unhook_default_functions() {
    	remove_action( 'catcheverest_main', 'catcheverest_homepage_featured_display', 10 );
    }
    add_action('init','unhook_default_functions');
    // Add Featured Content after secondary
    add_action( 'catcheverest_after_secondary', 'catcheverest_homepage_featured_display', 10 );
    #12920
    Kindbodesign
    Participant

    Sorry Sakin – this is difficult.
    I learned that the only file I could’t move to the child theme was the functions.php file. I tried to do it anyway but then I couldn’t open the site so I took it away again.
    Can you confirm that I am supposed to copy the functions.php into the child theme anyway?
    Kind regards
    Eva

    #12922
    Sakin
    Keymaster

    @Kindbodesign: That is very simple. You just need to build chile theme and create new functions.php and add the code I gave you. If you are confused then I can install it for your. I will contact you in email for your site access.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Format text on homepage’ is closed to new replies.