Fonts

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #20209
    Sushil Adhikari
    Moderator

    Now things are going to get complicated because more experience is needed to handle things like you are seeing with the menu and lists, but the best I Can help you here is to direct you to the line heights. However, any more style adjustments will really need to come from you …or hopefully if others here can help, that would be great. But you may need to adjust your line height for your lists now, but this as I said gets really complicated because different things uses lists and some require different line heights than others. You may want to start reading up on “Line Heights” for CSS. This handles the height of a paragraph line of text. Height is more for containers.

    You may need to test these out but to give you an example, for lists, you would do something like:

    #pref-main-section li {
    line-height: 1.2;
    }

    For em or rem or px….em and rem are very similar and are relative sizes. PX is pixels and this is a fixed size meaning it will always be that size. I would recommend you Google about font sizes such as em, rem, and px to get a better idea of what and how these work. If you want to know what one is to the other such as what is rem to px, then bookmark this http://www.pxtoem.com

    For your number 3 question….again, this is getting into more custom coding, but yes you can adjust padding, but you just need to know what specifically you are adjusting because as I said, these lists are used in different ways for different things from normal lists in a page, to widgets that use lists, to vertical menus, to the main menu which is horizontal, and then even galleries can use lists.

    Headings are dependent totally on what a user wants to use them for in their page content. They are also used in layout of your blog posts, page titles, etc.

    As for the select form…again, more complicated coding but for the select, you will want to separate that from the others you pasted above.

    select {
    padding: 6px;
    font-size: 1.5rem;
    }

    I really recommend you start exploring more HTML and CSS from Google searches, and this site http://www.w3schools.com (great site) and play with code on a regular basis. Because of the many posts and questions relating to extensive customization you appear to want to do, you will definitely need to know both HTML and CSS. It can be frustrating and complicated, but later once you get more experience with it, you will be able to make custom changes to any theme you use very easily. You might even find yourself building themes later in time :cheer:

    #20217
    Zdenka
    Member

    Thanks for your reply.

    One may guess headings are for titles… I just did not realized that it’s a snippet included in your text file. That explains everything. Sorry for having asked you without checking the Preferential folder first.
    I’m happy some people have the gift and mission to learn coding and create themes. However others just want a website to help putting in effect their own mission.

    #20224
    Zdenka
    Member

    I just want to thank you again. The two codes you gave me as examples explained me some other important details about coding logic and helped me to do some more work by myself. Please, believe me that I really try to search in w3schools, use firebug and learn but have no space to achieve your level of coding knowledge and skills.

    #15295
    Sushil Adhikari
    Moderator

    No worries, and totally understandable because I know code stuff can be quite frustrating. We developers often forget that a lot of users of WP have little to no HTML and CSS experience. Regardless what some “expert” and “review” sites state, WP is not easy to make a website, let alone make custom modifications. I find it’s more complicated to modify code in a WordPress site than others platforms such as Joomla, or even basic HTML sites.

    When I first started with WordPress, I didn’t even know how to install WordPress, and even after a few years of working with WordPress, I am still learning their coding methods. WP is ultimately a “blogging” platform and really wasn’t meant to create more complex websites other than blogs, but over the last few years, theme developers are trying to push it in that direction of becoming more of a content management system (cms) for more complex websites….but then this is where things start getting more complicated for the end-users when one wants to modify one of these fancy themes. However, as a developer, it’s up to use to try and make it as easy as possible but doesn’t always turn out that way.

    In a nutshell, if someone wants to make custom changes to any theme, whether mine or others, some HTML and CSS is definitely required. When someone is new to coding, even basics of it, this is where a person will require extra time to explore how HTML and CSS works, but to take advantage of the WP Forums, Google searches, HTML learning sites, even books, helps out. The more you do it, the easier it gets, but it won’t happen overnight. I’ve been at WP for a few years now and I’m still learning things about it (hope that doesn’t sound too discouraging). Generally with each theme I put out, I try to improve on things based on my experience with previous themes but also end-user feedback.

    There is a call from the WP development team to try and get theme makers back into simple clean design and to keep the 100’s of functions and fancy features out of the theme and to keep it to the core of WP. Features and extra functions are to be converted into plugins. The idea is to focus on perfect and less complicated code to make it easier for modifying. This still means that users will still be required to know at least the basics of HTML and CSS.

    …sounds fun doesn’t it :cheer:

Viewing 4 posts - 16 through 19 (of 19 total)
  • You must be logged in to reply to this topic.