Viewing 30 posts - 1 through 30 (of 31 total)
  • Author
    Posts
  • #864071

    The website in concern is RTL (in Hebrew).
    After Creating the first version of my website, I’m now starting the SEO session, and I understand that the first step after creating valuable content, is using H tags, especially H1 tags.
    Issue 1: H1-H6 font sizes
    I edited my posts and gave the paragraph titles the proper H Hierarchy (H1-H3). The sizez were not in decreasing order, so I went to Dashboard > Enfold Child > Advanced Styling and changed the Font size of the H1-H6 tags from “Default” into decreasing numbers of 24px for H1, 22px for H2 etc. I get non consistent behaviour, so it looks the definitions of H1-H6 as defined by me using the Enfold Advanced Styling don’t behave as the should as you can see in the examples given in the Private Content area. In the 1st example, the underlined header in example 1 is H2 yet its font size is smaller than the following header which is H3.

    Issue 2: Space after the H1-H6 tags before the paragraph following the H tag
    How can I determine the space before and after a paragraph’s title using H tags)?
    The space before the first paragraph following a title is too large. View example in the Private Content area.

    Issue 3: Space after a paragraph
    How can I determine the space after a paragraph? Using a “Hard Enter” in the Enfold visual text editor did not create any tag, so the last paragrap is too close to the title of the following paragraph’s title. View example in the Private Content area.

    Issue 4: Title Font size covers breadcrumbs
    It seems the posts title is defined with H1 tag (I’ll postpond the question of using two H1 tags on the same post). Since the post’s title is on the same line as the breadcrumbs are, it sometimes covers the breadcrumbs. How can I separete the title and the breadcrumbs into two different lines?

    Issue 5: Breadcrumbs pulled into left handside (RTL website using RTL supported Theme)
    the breadcrumbs are puled to the left handsid but as this is an RTL wbsite, the theme that support RTL should pull it to the right hand side. see example in the Private Content area. same example as issue 4.

    #864946

    Hey eransh,

    All those depend on users and how they want to create their view.
    That is design basically based on each one needs.

    You can either use our Advanced Theme Options to edit the CSS or you can go ahead and write custom CSS that can match your needs.
    Do let us know if there is anything else we can do to assist you further.

    Best regards,
    Basilis

    #864956

    Hi Basilis,
    I don’t realy understand your answer. Please read again all 4 issues and make sure that your answer is the proper answer for each one of them.

    Issue 1: I’m not a programmer and I do not write CSS so the only option for me is using Enfold’s Advanced Styling, which I did, but yet, although I defined the font sizes for H1-H6 using the theme’s Advanced Styling, some of the text which was set to be a paragraph type with H tags has font sizes different than the size which was defined in the Advanced Styling or at least so it seams by the fact that H2 text is smaller than H3 text, although the H1-H6 definitions in the Theme’s dvanced Styling are in descending order (that is H2 should be larger than H3).

    #866060

    Hi,

    1.) The advanced heading styling is working properly.

    #top #wrap_all .all_colors h2 {
        font-size: 20px;
        line-height: 1.3em;
    }
    
    #top #wrap_all .all_colors h3 {
        font-size: 18px;
        line-height: 1.3em;
    }

    2-3) Adjust the default margin of the heading elements.

    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 5px;
        margin-top: 20px;
    }

    Default value is 10px.

    4.) Please use this css code to adjust the position of the breadcrumb.

    .rtl .title_container .breadcrumb {
        right: 45px;
    }
    
    .rtl #wrap_all .title_container .main-title {
        text-align: left;
        font-size: 15px !important;
    }

    Best regards,
    Ismael

    #867348

    Hi Ismael,
    Thanks for the reply.
    1. In order to fix the H2 size I had to delete the Heading, write it again “clean”, and make it H2. It looks fine on the site although in the editor it still has a smaller size than H3 size.
    2-3) I pated your code into the quick css, thanks. Is there a way to use Enfold’s Advanced styling for thes parameters without using css?
    4. There is still one problem. I pasted your code into the quick css. Both Breadcrumbs and Title should be at the right handside and they should be in separate lines (currently they appear on the same line which could cause ovelap. Canon product page is given as an example).
    Best,
    Eran

    #867950

    Hi,

    2-3.) The “advanced styling” doesn’t have any options to control the elements’ margin property so you really need to use the Quick CSS field.

    4.) Please use the following css code.

    .rtl #wrap_all .title_container .main-title {
        text-align: right;
        font-size: 15px !important;
        top: 18px;
    }
    
    #top .title_container .container {
        padding-bottom: 20px;
    }
    
    .rtl .title_container .breadcrumb {
        right: 45px;
        top: 40%;
    }

    Adjust the values as needed.

    Best regards,
    Ismael

    #869297

    Hi Ismael,
    Thanks for the CSS Code.
    It works fine on Desktop view, however in mobile view both Breadcrumbs and title are shown on the same line.
    Best,
    Eran

    #869577

    Hi Eran,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 767px) {
      .rtl #wrap_all .title_container .main-title {
        top: 0px;
    }
    .responsive.html_cart_at_menu #top .main_menu .menu>li:last-child {
        padding-right: 0px; 
         margin-right: 0px; 
    }
    .responsive #top #header_main > .container .main_menu .av-main-nav > li > a {
        min-width: 0;
        padding: 0 13px;
    }
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #869728

    Hi Victoria,
    Thanks for the CSS code for the mobile device.
    It worked with one twick: The Title is the first line and the Breadcrumbs is the second line. It should be the other way around.
    Without realy understanding what I’m doing, I tried to switch the sections order in the CSS code you wrote: I switched the order of the code so the “.responsive #top #header_main” section would operate before the “.responsive.html_cart_at_menu” section, but there was no difference, so I replaced back to your code until I know better.
    Best,
    Eran

    #869851

    Hi Eran,

    Please remove the code I gave you before and put this one:

    
    @media only screen and (max-width: 767px) {
      .rtl #wrap_all .title_container .main-title {
        top: 30px;
    }
    .responsive .title_container .main-title + .breadcrumb {
        top: -25px;
    }
    .responsive.html_cart_at_menu #top .main_menu .menu>li:last-child {
        padding-right: 0px; 
         margin-right: 0px; 
    }
    .responsive #top #header_main > .container .main_menu .av-main-nav > li > a {
        min-width: 0;
        padding: 0 13px;
    }
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #869853

    Hi Victoria,
    I’ve implemented the new CSS code. It looks fine now both on my desktop and my smartphone. Thank you so much.
    Best
    Eran

    #869882

    Hi Eran,

    Glad we got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #871398

    Hi Victoria,
    It seems that there are cases the line of the Breadcrumbs overlaps the line of the title only on the screen of the smartphone. Regarding the links in the private area: 1st post is fine, but 2nd post the lines of the Breadcrumbs and the title overlap, maybe because the title is longer (they both looks fine on desktop screen).
    Regards,
    Eran

    #871967

    Hi,

    Thank you for the update. I can’t see the “overlay” issue. Please provide a screenshot on imgur or dropbox.

    Best regards,
    Ismael

    #872505

    Hi Ismael,
    The following 2 screenshots images show Title line overlapping Breadcrumbs line on smartphone screen (This is not happening for short titles):
    Screenshot 1:
    title overlaps breadcrumbs line
    Screenshot2
    title line overlaps breadcrumbs line
    Best,
    Eran

    #873147

    Hi Eran,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .rtl #wrap_all .title_container .main-title {
        text-align: right;
        font-size: 14px !important;
        top: 42px;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #873924

    Hi Victoria,
    Thanks for the code, but it did not solve the problem.
    On smartphone screen – Title still overlaps Breadcrumbs.
    On desktop – I changed 42px into 30px because in desktop mode the title was shown too far from breadcrambs line and it was lower than the horizontal line.
    Best,
    Eran

    #874039

    Hi,

    Thank you for the update. Please add the following css codes.

    
    @media only screen and (max-width: 480px) {
      /* Add your Mobile Styles here */
      .rtl #wrap_all .title_container .main-title {
        top: 40px;
        line-height: 1.6em;
      }
    
      .responsive .title_container .main-title + .breadcrumb {
        top: -50px;
      }
    }
    

    Best regards,
    Ismael

    #874060

    Hi Ismael,
    Thanks for the new CSS code.
    The overlap problem on smartphone screen is resolved resolved by this code, but Breadcrumbs line disappeared from desktop screen.
    I changed “top: 40px;” to 30px because the Title line was too low (even hidden in the homepage by the large top image).

    Update: I’ve copied into the Private area the CSS currently in Enfold Child > General Styling > Quick CSS field.
    Only the code that relates to this issue was copied. I’m sure there is some redundancy as we were trying to solve the issue with some “trial&error”.

    Best,
    Eran

    • This reply was modified 7 years, 1 month ago by eransh. Reason: I've copied into the Private area the CSS currently in Enfold Child > General Styling > Quick CSS field
    #874450

    Hi,

    Remove the following css code.

    /*
    Title line overlapping Breadcrumbs line on smartphone screen:
    */
    .rtl #wrap_all .title_container .main-title {
    text-align: right;
    font-size: 14px !important;
    top: 30px;
    }

    Best regards,
    Ismael

    #874538

    Hi Ismael,
    Thanks for your reply.
    I’ve removed the part of the CSS code you’ve asked me to remove.
    Smartphone: seems o.k (Breadcrumbs line shown separated from Title line.
    Desktop: No Breadcrumbs line.
    Best,
    Eran

    #875012

    Hi,

    The comment code is invalid.

    /*
    Title line overlapping Breadcrumbs line on smartphone screen:
    /*
    

    It should be.

    /*
    Title line overlapping Breadcrumbs line on smartphone screen:
    */
    

    Best regards,
    Ismael

    #875449

    Hi Ismael,
    Thanks for the correction. The breadcrumbs are back to desktop as well.
    A follow-up questin concerning RTL adaptations: will adaptations to RTL languages (such as the issue I’ve raised here) be embedded in a future release within the Theme’s code, as they make the theme more RTL languages friendly?
    Best,
    Eran

    #875505

    Hi,
    Glad that Ismael was able to help. Regarding RTL adaptations embedded in the theme, Please feel free to request – or vote if already requested – such feature on Enfold feature request form, as this is where the developers look for new feature ideas.
    Thank you for using Enfold.

    Best regards,
    Mike

    #875506

    Hi,
    Glad that Ismael was able to help. Regarding RTL adaptations embedded in the theme, Please feel free to request – or vote if already requested – such feature on Enfold feature request form, as this is where the developers look for new feature ideas.
    Thank you for using Enfold.

    Best regards,
    Mike

    #1027072

    Hi,
    I have used your code for questions 2 and 3

    h1, h2, h3, h4, h5, h6 {
    margin-bottom: 5px;
    margin-top: 20px;
    }

    but it does not same working. Does not add any space above or below any H fonts.

    Could you please provide another code?

    Thanks,
    Marco

    #1027153

    Hi,
    I assume you cleared your browser cache, please try adding “!important;” to the css like this:

    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 5px !important; 
        margin-top: 20px !important; 
    }

    Otherwise please include a url to your page so we can examine it.

    Best regards,
    Mike

    #1027215

    Hi Mike,
    yes I cleared the cache. In some way it works, the margin-bottom works but because I wanted to have margin -10px it will mess up the titles in the recent posts on side bar. So I restored it to 0px.

    But I still cannot make it work for margin-top
    Try it yourself, https://www.ninserviziogratuito.co.uk/richiedere-passaporto-italiano-estero

    In the same article you will see that I created a FAQ with accordion. Well, if I use the symbol ‘ in a word in the accordion it will mess up. Do you know how I can replace the ‘ with?

    thanks,
    Marco

    #1027258

    Hi,
    In this case I recommend not using a broad css rule that will effect all of the heading for the whole site, like the rule above. It is why you are having the conflict with your sidebar headings. So for the h3 heading in your article that you want the -10px for try this css:

    .entry-content h3 {
     margin-top: -10px !important;
    }

    If you were also trying to move your h1 title up some, I would recommend looking at the top padding of your posts, it is set to 50px, where there is no top padding or margin for the h1 titles.

    .template-single-blog .content {
    padding-top: 10px !important;
    }

    please adjust to suit.
    As for the symbol in the accordion I tried adding a ‘ in the title and content of a accordion in my localhost, but didn’t see how it was messing up, but I did find this solution for you to try.

    Best regards,
    Mike

    #1027266

    Thank you Mike,

    all worked, apostrophe included :-)

    Have a good day,
    Marco

Viewing 30 posts - 1 through 30 (of 31 total)
  • The topic ‘H1-H6 font size, Title, Paragraph, Breadcrumbs’ is closed to new replies.