shortcode query

  • Posted in : TheBlogger
  • missfmixer
    Participant

    Thanks for the css codes. Also can you tell me, the style i choose for category on homepage and post page is same by default. but is it possible to make these different through code?

    and also is it possible to keep tagline size 13px in mobiles and 17px in laptop. right now they are same by default.

    also will these codes have to be re-written if the theme gets updated?

    ahmetsali
    Keymaster

    Hi again,

    – yes, category meta style is applied to both blog archive and single post, and unfortunately, it is not possible to have different category meta style for these pages.

    – you can use this custom css code for site description;

    .site-header .site-description {
        font-size: 13px;
    }
    @media screen and (min-width: 992px) {
    .site-header .site-description {
        font-size: 17px;
    }
    }
    

    – you won’t lose your custom css codes after updating your theme, just make sure to paste your custom css codes in Appearance > Customizer > Additional CSS box.

    Thanks.

    missfmixer
    Participant

    thanks.
    will you be doing any separate options for the two meta in future updates?

    i have pasted all these codes in the additional css box only
    so what i understood is if i need to change the mobile screen size i will have to change the first size given ie 13px
    and if i need to change the laptop size it will be the second one ie 17 px.
    Am i correct in understanding?

    ahmetsali
    Keymaster

    Hi again,

    – we don’t plan to add such feature right now but if more users ask for it we may consider it for a future update.

    – yes, that’s correct.

    Cheers.

    missfmixer
    Participant

    okay and are you planning to have options to update text colours of site name and taglines in header?

    also in the footer how do i change the colour of the text.
    only backdrop colour i am able to change?

    missfmixer
    Participant

    like if i want to make text white and colour of background black can i do that and if yes what would be the code for that?

    serkan
    Moderator

    Hi, Many css codes are needed to customize footer. But if you want to customize it, you can use these codes.

    .site-footer { background-color: #000; }
    .site-footer .widget-area a { color: #fff !important; }
    .site-footer input[type=submit], .site-footer input[type=button],  .site-footer button, a.button { color: #fff; border: 2px solid #fff; }
    .site-footer .input-text, .site-footer textarea, .site-footer select { color: #fff; border: 2px solid #fff; }
    .site-footer .widget-title span {  color: #fff; }

    We will consider updating the other topic you are talking about.
    Thanks

    missfmixer
    Participant

    i didnt understand. is this one code or i have to choose one?
    i just want to make the footer text colour white, the footer background colour i want black which i can do in customiser itself.

    serkan
    Moderator

    Hi, It can not be changed easily through the Customizer because it has many things in the footer. Customization with custom css code is required for all those.
    Thanks

    missfmixer
    Participant

    i pasted the whole code you gave above and it woked. thanks.

    also can you give me shortcode for hiding the subcategories in blog and post sidebars and in the blog footer? i am not able to do that.

    thanks

    serkan
    Moderator

    Hi,
    Do you want to remove the category widget? You can go directly to the widget tab and remove the category directly.
    You also added a menu on the footer. It is not possible to remove subcategories here.
    Thanks

    missfmixer
    Participant

    I don’t want to remove subcategory. I want to hide it. I tried a few shortcodes I found online but they did not work on this theme.

    .children { display: none; }

    .sidebar .children { display: none; }

    .sidebar_content .children { display: none; }

    I didn’t find any for footer.

    Also the issue I had with link box on mobile. Same issue is there with font style for the slider titles. Can you give me the code for that? For the styles in lineborders and stamp?

    Thanks

    serkan
    Moderator

    Hi, Will you open up to me a little more? What is your subcategory? Fitness, fashion, food, fun & travel show up in the sidebar and footer. Aren’t they your parent category? The above codes will not work in the background if you do not have coding knowledge. Because it does not make any sense.

    missfmixer
    Participant

    subcategory was london and india. i have removed it for now as i could not find a way to hide it. but if you can give me a general code for sidebar of blog and post and for footer, i will add it back.

    missfmixer
    Participant

    also the second issue you didnt address?

    serkan
    Moderator

    Hi, WordPress category widget does not have subcategory hiding feature by default. WordPress did not offer such a support for the default category widget.
    I have answered the link box problem in another topic.
    Thanks

    missfmixer
    Participant

    Yes. But is there a code by which I could hide it like the eg I found above but it did not work on my theme. So I thought it varies from theme to theme?

    Also as I mentioned above the link box issue is there on the slider titles too. If you check my homepage on mobile you will see what I mean. It’s not showing like on desktop. That’s why I asked for a similar solution for that in the way you gave for the link box?

    serkan
    Moderator

    Hi, There is no simple code for it. If you add them to the list, we can detect the ID for each subcategory and hide them via the custom CSS code. But this is not a healthy solution. For each sub-category you add, you need to write custom code.
    You can add this custom css code for the slider border as well;

    @media screen and (max-width: 767px) { .is-slider-title-inline-borders .slider-box .entry-title a, .is-link-box-title-inline-borders .link-box .entry-title a { padding: 3px 14px; border: 2px solid #fff; } }

    Also, please go to appearance > customize > featured area > slider > decrease slider title text ratio and save it. It is too big even for desktop as well.
    Thanks

Viewing 18 posts - 1 through 18 (of 18 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register