Cubic theme: how to remove an element?

  • Unknown's avatar

    Finally found the perfect theme to migrate my now-defunct TravelPod blog into! However, I’m trying to remove the ‘box within a box’ that appears in the centre of the main page under the blog title, and can’t figure out how to. Currently it seems to just display the name of the location that was tagged in my TravelPod post, which I don’t really need. Is this double-rectangle removable, and if so, where/how? Thank you :)

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi,

    I don’t find a ‘box within a box’ appearing below the blog title on the front page of the blog. Have you resolved the issue? Are you referring to the site https://quitplaylive.wordpress.com/?

  • Unknown's avatar

    Hi, thanks for replying. Apologies for my lack of clarity…as a writer, you’d think I’d be better at explaining myself! I wrote ‘main page’ but what I actually meant was the main page of any of the posts. So if you click on the first post, “Jamaica 2017: Bloom Where you’re Planted”, you’ll see the date, blog post title, and then a double rectangle with light grey borders and “Montego Bay, Jamaica” in it. This is the design element I’m referring to.

  • Unknown's avatar

    Thanks. I see the boxes now. If that element can’t be found in and removed from the HTML or text editor of each post, then I’d suggest that you add a “modlook” tag to the sidebar at right here, which will call for staff attention.

  • Unknown's avatar

    Those appear to be double-bordered text boxes.

  • Unknown's avatar

    Hi @caravogl,

    The “Montego Bay, Jamaica” text is contained inside a table which has a border on it.

    If you switch to the HTML editor for that post, you’ll see HTML that looks like this:

    <table style="height:71px;" border="0" width="535" cellspacing="10" cellpadding="0" align="right">
    <tbody>
    <tr>
    <td align="center" valign="top">
    <div style="width:50%;margin:auto;padding:10px;border:2px solid #eeeeee;text-align:center;">Montego Bay, Jamaica</div>
    </td>
    </tr>
    </tbody>
    </table>

    The boxes will be removed if you delete that HTML.

    You can type “Montego Bay, Jamaica” back into the post, then use the “align centre” button in the visual editor if you’d like to centre it.

  • Unknown's avatar

    Wow. You people rock. Thank you! I’ll give this HTML bit a try (as you might suspect, really not my forté!) Merci

  • Unknown's avatar

    Oh wait – does that mean I’ll need to do that for each individual post? It’s not something I can set in the overall theme itself?

  • Unknown's avatar

    Yes, you’ll have to remove it from the content of each post. It has nothing to do with the theme.

    It looks like the tables might be included in the xml file you imported from TravelPod.

  • Unknown's avatar

    One possible workaround would be to use CSS to hide the first table in each post.

    This would hide them from all posts without needing to manually edit the HTML, but an upgrade to a Premium or Business plan would be required to add the CSS.

    If you decide to upgrade, you could try adding the CSS below to the customizer in My Sites > Customize > CSS:

    .single-post .entry-content table:first-of-type {
        display: none;
    }
  • The topic ‘Cubic theme: how to remove an element?’ is closed to new replies.