• Hi All,

    I’m a newbie to WordPress CSS. Tesseract theme.

    Here’s the temp site: https://954.29e.myftpupload.com/

    I’m trying to make the following changes but for the life of me I can’t seem to locate where to make the changes.

    1. Increase the logo size
    2. Move the header menu to align right of the page
    3. Remove the entire footer menu and bar
    4. Add and center copyright line. With the current theme, I wanted to add ‘All Rights Reserved’ but when I did that, the a line break made part of the text move to a 2nd line.

    Thank you all in advance for your help!

    • This topic was modified 7 years, 11 months ago by Jan Dembowski.
Viewing 15 replies - 16 through 30 (of 49 total)
  • has anyone had any luck adding thumbnails at the blog summary level – there is no option for this with this theme – any other way?

    Hi – I have 2 questions.

    1. I think someone previously asked this but I still cant figure it out – When I look at my website on an iphone the header page is showing the words hyphenated and looks bad. How to make it responsive? I think it is also hyphenating words on other pages too.

    2. When using the “search” option – it takes the viewer to a blog post page. How can I make the search results show up on a regular looking page?

    Also – check out my site and let me know if you see any other issues:
    vintageselectionswine.com

    Hi (Michadair and josiah820 ):

    Michadair, Yes the solution to your problem is on the top. The only thing you have to do is add “headline-resize” to the class of the headline. To do that, you go to the page, into the visual editor where the headline is, and in the Text view, you add: “headline-resize”; so it would look like this:

    <span class=”headline-resize home-headline”>Your headline </span>

    To josiah820, what you have to look for, in the css, is this:

    .site-header

    In the tesseract CSS, set the height you want and done. For example, in mine a set it to 15%, so it looks like this:

    .site-header {
    width: 100%;
    height: 15%;
    }

    Ok I solve my problem, I had to add this attributes to my headline CSS:

    overflow: hidden;
    white-space: nowrap;

    This forces a line or words to stay in one piece or line.

    Hope it helps if anyone had the same problem ??

    To – Lucadetena –
    Thank for your help, on this, however it is still not working. I’m wondering if it is missing a quote mark somewhere between resize and home.

    <span class=”headline-resize home-headline”>Your headline </span>

    Also – I’ve notices throughout my site that some sections have the hyphen and others do not. Is there a way to make the entire site so the text does not hyphenate?

    SEARCH question – When using the “search” option – it takes the viewer to a blog post page. How can I make the search results show up on a regular looking page?

    ok michadair, I see you have the same problem I had. Luckily if just solve it a couple of our ago, it is not a perfect solution but for now is the best i could fine, a looks pretty good.

    1.-First add this to your CSS (This will force the line not to hyphen):

    .home-headline, .home-sub{
    overflow: hidden;
    white-space: nowrap;
    }

    2.-look at the mobile web, if the letters don’t resize and appear cut, you have to do the next:

    2.1-Take the “headline-resize” from the home headline class.

    2.2.-then add this to your CSS(this changes the units of the text-size, instead of pixels, is measured by viewports, so it readjusts with the screen size )(you can change the number before de “vmax” like in the “px”, just don’t live any spaces between the number and the unit):

    .home-headline{

    font-size: 6vmax !important;
    }

    .home-sub{

    font-size: 2vmax !important;
    }

    Ok know you have to readjust the size of the container in the front page, so that when the screen is huge, the letters don’t get cut. To do that,

    3.Go to your header.php

    3.1.-At the bottom you will find this:

    <div id=”content” class=”cf site-content”>

    3.2.-Here at the class attribute you have to add:

    forfirstpage-<?php the_ID(); ?>

    So it will look like this:

    <div id=”content” class=”cf site-content forfirstpage-<?php the_ID(); ?>”>

    This will add a new class to the content, but it will be a different name for each page, because the <?php the_ID(); ?> gets the Id of the page, so for you home page it will look like this:

    forfirstpage-9

    for your About page:

    forfirstpage-12/em>

    This way we can change only the content size of an specific page, and not all:

    The “forfirstpage” part you can changed it for anything you want, but don’t use “post” or “line” or something common like that. As it may be in oder parts of the code and could get affected by the changes we are gonna make.

    4.-Now go back to your CSS:

    4.1.-And add:

    .forfirstpage-9 {
    max-width: 90% !important;
    }

    You can change the maximum width to anything you like, and even the unit to px, or viewports.

    Hope this helps, if you have any problems or questions let me know ??

    *About the search bar, have no idea, i′m not using it but i′ll take a look to see if i can solve your problem.

    Hi,

    I’m trying to change the font on the buttons used in the template. How do I do this? Thanks so much for your help.

    Sophia

    Hi Lucadetena –
    Again, Thanks for your help. I am a newbie and only followed Tylers instructions, but don’t really understand how it all works

    When you instructed me to do the following – where exactly do I do this? I don’t know what CSS is:

    1.-First add this to your CSS (This will force the line not to hyphen):

    .home-headline, .home-sub{
    overflow: hidden;
    white-space: nowrap;
    }

    Hi, michdair, don′t worry, i′m a newbie to. To find the CSS and any file from the theme you have to go to:

    On the left sidebar of the wordpress editor:

    Appearance> Editor

    There you will si a list on the right with all the .php files, and at the bottom you will see a title name saying:

    Stiles.

    Under you will see the .CSS file, where you have the all the code that determines the color, the size, borders, opacity, etc

    So in that file you can customize anything in the web you want.

    On the .php files that I mentioned before you can find the “header.php” from step 3.

    If you need any more help just post it and I′ll be very happy to help you in what i can.

    Sam

    (@soumendra)

    Hello makica2015r,

    You can try this in your Custom CSS for footer color:

    #footer-container {
        background-color: #000 !important;
    }

    And you can add side bar by using this plugin:

    https://www.ads-software.com/plugins/dynamics-sidebars/

    Thank you.

    Hello Sam,

    Please Help me. My function.php file has syntax error. This is the error message.

    Parse error: syntax error, unexpected ‘<‘ in /home4/makic/public_html/wp-content/themes/TESSERACT-Master_Branch/functions.php on line 138

    I don’t know what to do, I went back couple of times and deleted what I have added just before this error(which was a sidebar). I copy- paste the original function.php file from tesseract theme and it didn’t help. I don’t know how to attach my function.php file here.???

    I really need help…………..

    Mack R.

    hey,
    I’m trying to increase the size of my logo in my header.
    This has been answered in a prior post, to add a certain piece of code
    ie.

    .site-logo img {
    height: 50px;
    max-width: 200px;}

    I tried that, but its not working. Please help. Thanks!

    Sam

    (@soumendra)

    Hello meera38,

    You can try this in your Custom CSS for achieving that:

    .site-logo {
        width: 300px !important;
    }

    You can adjust it as per your requirement.

    Thank you.

    thanks for the reply,
    I tried changing that but somethings not working out.

Viewing 15 replies - 16 through 30 (of 49 total)
  • The topic ‘Need help with Custom CSS’ is closed to new replies.